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
Some use cases involving configuration updates require limiting actions to a particular subset of extensions. Currently, config_provider loads data from all extensions.
Proposed resolution
Introduce an $extensions argument to ConfigCollector::getInstallableConfig()
that would limit configuration loaded to a specified set of extensions, defaulting to all if empty.
Provide a new method, ConfigProviderBase::listConfig(), that lists config by an optional set of extensions.
Comments
Comment #2
nedjoComment #3
nedjoComment #5
nedjo