Commit 9cf1c1f1 authored by Pawel G's avatar Pawel G

Add update hook to move configuration to new places

parent 2411190a
......@@ -209,5 +209,13 @@ function simple_sitemap_update_8202() {
* simple_sitemap.entity_types and simple_sitemap.custom.
function simple_sitemap_update_8203() {
$old_config = $config = \Drupal::config('simple_sitemap.settings');
foreach (['entity_types', 'custom'] as $config_name) {
$config = $old_config->get($config_name);
$settings = $old_config->get('settings');
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment