By alexpott on
Change record status:
Draft (View all draft change records)
Project:
Introduced in branch:
11.x
Introduced in version:
11.4.0
Issue links:
Description:
To work with the configuration the sync directory use the config.storage.sync service instead of the static method \Drupal\Core\Config\FileStorageFactory::getSync().
In Drupal 11.4 using the sync storage will ensure any configuration for modules or themes that are not installed will be able to use constants and enums from these modules. See https://www.drupal.org/node/3403883 for more information about this.
Note that the config.storage.sync service is not new and can moved to before your code requires 11.4.0
Impacts:
Module developers