You are here

interface ConfigCollectorInterface in Configuration Provider 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/ConfigCollectorInterface.php \Drupal\config_provider\Plugin\ConfigCollectorInterface

Class for invoking configuration providers..

Hierarchy

Expanded class hierarchy of ConfigCollectorInterface

All classes that implement ConfigCollectorInterface

File

src/Plugin/ConfigCollectorInterface.php, line 8

Namespace

Drupal\config_provider\Plugin
View source
interface ConfigCollectorInterface {

  /**
   * Gets all configuration provider plugins.
   *
   * @return \Drupal\config_provider\Plugin\ConfigProviderInterface[]
   *   An array of fully initialized configuration provider instances.
   */
  public function getConfigProviders();

  /**
   * Gets installable configuration from all provider plugins.
   *
   * Using the InMemoryStorage permits implementing plugins to add
   * configuration to collections other than the default by calling
   * ::writeToCollection().
   *
   * @param \Drupal\Core\Extension\Extension[] $extensions
   *   (Optional) An associative array of Extension objects, keyed by extension
   *   name. If provided, data loaded will be limited to these extensions.
   *
   * @return \Drupal\config_provider\InMemoryStorage
   *   A storage with the available configuration.
   */
  public function getInstallableConfig(array $extensions = []);

}

Members

Namesort descending Modifiers Type Description Overrides
ConfigCollectorInterface::getConfigProviders public function Gets all configuration provider plugins. 1
ConfigCollectorInterface::getInstallableConfig public function Gets installable configuration from all provider plugins. 1