Exclude farm_update.settings config from automatic updates, just to be safe.

This commit is contained in:
Michael Stenta 2021-09-17 08:33:40 -04:00
parent f881bea2e3
commit f575b0039f
1 changed files with 7 additions and 0 deletions

View File

@ -124,6 +124,13 @@ class FarmUpdate implements FarmUpdateInterface {
$exclude_config = array_merge($exclude_config, $settings_exclude_config);
}
// Always exclude this module's configuration.
// This isn't strictly necessary because we don't provide default config
// in config/install. But in the unlikely event that a custom module does
// provide this config, and then it is somehow overridden by another means,
// it would be reverted. So we exclude it here just to be extra safe.
$exclude_config[] = 'farm_update.settings';
return $exclude_config;
}