Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
In FeaturesManager::getConfigCollection() we return an array of ConfigurationItem objects, read in from existing configuration.
Using this custom approach cuts us off from a lot of the built-in functionality of Drupal's configuration APIs, such as support for multiple configuration collections (and hence multilingual support), use of configuration storages and related events, and so on.
Proposed resolution
Use a MemoryStorage for configuration items.
Comments