You are here

ConfigCollectorInterface.php in Configuration Provider 8.2

Same filename and directory in other branches
  1. 8 src/Plugin/ConfigCollectorInterface.php

File

src/Plugin/ConfigCollectorInterface.php
View source
<?php

namespace Drupal\config_provider\Plugin;


/**
 * Class for invoking configuration providers..
 */
interface ConfigCollectorInterface {

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

  /**
   * Adds installable configuration from all provider plugins.
   *
   * @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.
   */
  public function addInstallableConfig(array $extensions = []);

}

Interfaces

Namesort descending Description
ConfigCollectorInterface Class for invoking configuration providers..