You are here

interface ConfigListByProviderInterface in Configuration Update Manager 8

Defines an extended interface for listing configuration.

Hierarchy

Expanded class hierarchy of ConfigListByProviderInterface

All classes that implement ConfigListByProviderInterface

1 file declares its use of ConfigListByProviderInterface
ConfigUpdateController.php in config_update_ui/src/Controller/ConfigUpdateController.php

File

src/ConfigListByProviderInterface.php, line 8

Namespace

Drupal\config_update
View source
interface ConfigListByProviderInterface extends ConfigListInterface {

  /**
   * Returns the provider of a given config object.
   *
   * @param string $name
   *   Name of the config object.
   *
   * @return string[]
   *   Array containing the type of extension providing this config object as
   *   its first element (module, theme, profile), and the name of the provider
   *   as its second element. NULL if unknown.
   */
  public function getConfigProvider($name);

  /**
   * Lists the providers of a given type that actually have configuration.
   *
   * @param string $type
   *   Type of extension (module, theme, profile).
   * @param string $name
   *   Machine name of extension.
   *
   * @return bool
   *   TRUE if the extension has either install or optional config, and FALSE
   *   if it does not.
   */
  public function providerHasConfig($type, $name);

}

Members

Namesort descending Modifiers Type Description Overrides
ConfigListByProviderInterface::getConfigProvider public function Returns the provider of a given config object. 1
ConfigListByProviderInterface::providerHasConfig public function Lists the providers of a given type that actually have configuration. 1
ConfigListInterface::getType public function Returns the entity type object for a given config type name. 1
ConfigListInterface::getTypeByPrefix public function Returns the entity type object for a given config prefix. 1
ConfigListInterface::getTypeNameByConfigName public function Returns the config type name for a given config object. 1
ConfigListInterface::listConfig public function Lists the config objects in active and extension storage. 1
ConfigListInterface::listTypes public function Lists the types of configuration available on the system. 1