You are here

interface ConfigSyncListerInterface in Configuration Synchronizer 8

Same name and namespace in other branches
  1. 8.2 src/ConfigSyncListerInterface.php \Drupal\config_sync\ConfigSyncListerInterface

Provides methods related to config listing.

Hierarchy

Expanded class hierarchy of ConfigSyncListerInterface

All classes that implement ConfigSyncListerInterface

2 files declare their use of ConfigSyncListerInterface
ConfigSyncCommands.php in src/Commands/ConfigSyncCommands.php
ConfigSyncInitialize.php in src/Form/ConfigSyncInitialize.php

File

src/ConfigSyncListerInterface.php, line 8

Namespace

Drupal\config_sync
View source
interface ConfigSyncListerInterface {

  /**
   * Returns a change list for all installed extensions.
   *
   * @param array $extension_names
   *   Array with keys of extension types ('module', 'theme') and values arrays
   *   of extension names.
   *
   * @return array
   *   Associative array of configuration changes keyed by extension type
   *   (module or theme) in which values are arrays keyed by extension name.
   */
  public function getExtensionChangelists(array $extension_names = []);

  /**
   * Returns a change list for a given module or theme.
   *
   * @param string $type
   *   The type of extension (module or theme).
   * @param string $name
   *   The machine name of the extension.
   *
   * @return array
   *   Associative array of configuration changes keyed by the type of change
   *   in which values are arrays of configuration item labels keyed by item
   *   name.
   */
  public function getExtensionChangelist($type, $name);

}

Members

Namesort descending Modifiers Type Description Overrides
ConfigSyncListerInterface::getExtensionChangelist public function Returns a change list for a given module or theme. 1
ConfigSyncListerInterface::getExtensionChangelists public function Returns a change list for all installed extensions. 1