You are here

ConfigSyncListerInterface.php in Configuration Synchronizer 8

Same filename and directory in other branches
  1. 8.2 src/ConfigSyncListerInterface.php

Namespace

Drupal\config_sync

File

src/ConfigSyncListerInterface.php
View source
<?php

namespace Drupal\config_sync;


/**
 * Provides methods related to config listing.
 */
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);

}

Interfaces

Namesort descending Description
ConfigSyncListerInterface Provides methods related to config listing.