You are here

interface ConfigMapperManagerInterface in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/config_translation/src/ConfigMapperManagerInterface.php \Drupal\config_translation\ConfigMapperManagerInterface

Provides a common interface for config mapper managers.

Hierarchy

Expanded class hierarchy of ConfigMapperManagerInterface

All classes that implement ConfigMapperManagerInterface

8 files declare their use of ConfigMapperManagerInterface
ConfigTranslationContextualLinks.php in core/modules/config_translation/src/Plugin/Derivative/ConfigTranslationContextualLinks.php
Contains \Drupal\config_translation\Plugin\Derivative\ConfigTranslationContextualLinks.
ConfigTranslationController.php in core/modules/config_translation/src/Controller/ConfigTranslationController.php
Contains \Drupal\config_translation\Controller\ConfigTranslationController.
ConfigTranslationDeleteForm.php in core/modules/config_translation/src/Form/ConfigTranslationDeleteForm.php
Contains \Drupal\config_translation\Form\ConfigTranslationDeleteForm.
ConfigTranslationFormBase.php in core/modules/config_translation/src/Form/ConfigTranslationFormBase.php
Contains \Drupal\config_translation\Form\ConfigTranslationFormBase.
ConfigTranslationListController.php in core/modules/config_translation/src/Controller/ConfigTranslationListController.php
Contains \Drupal\config_translation\Controller\ConfigTranslationListController.

... See full list

File

core/modules/config_translation/src/ConfigMapperManagerInterface.php, line 16
Contains \Drupal\config_translation\ConfigMapperManagerInterface.

Namespace

Drupal\config_translation
View source
interface ConfigMapperManagerInterface extends PluginManagerInterface {

  /**
   * Returns an array of all mappers.
   *
   * @param \Symfony\Component\Routing\RouteCollection $collection
   *   The route collection used to initialize the mappers.
   *
   * @return \Drupal\config_translation\ConfigMapperInterface[]
   *   An array of all mappers.
   */
  public function getMappers(RouteCollection $collection = NULL);

  /**
   * Returns TRUE if the configuration data has translatable items.
   *
   * @param string $name
   *   Configuration key.
   *
   * @return bool
   *   A boolean indicating if the configuration data has translatable items.
   */
  public function hasTranslatable($name);

}

Members

Namesort descending Modifiers Type Description Overrides
ConfigMapperManagerInterface::getMappers public function Returns an array of all mappers. 1
ConfigMapperManagerInterface::hasTranslatable public function Returns TRUE if the configuration data has translatable items. 1
DiscoveryInterface::getDefinition public function Gets a specific plugin definition. 3
DiscoveryInterface::getDefinitions public function Gets the definition of all plugins for this type. 2
DiscoveryInterface::hasDefinition public function Indicates if a specific plugin definition exists. 2
FactoryInterface::createInstance public function Creates a pre-configured instance of a plugin. 5
MapperInterface::getInstance public function Gets a preconfigured instance of a plugin. 4