interface ConfigMapperManagerInterface
Same name in other branches
- 9 core/modules/config_translation/src/ConfigMapperManagerInterface.php \Drupal\config_translation\ConfigMapperManagerInterface
- 8.9.x core/modules/config_translation/src/ConfigMapperManagerInterface.php \Drupal\config_translation\ConfigMapperManagerInterface
- 11.x core/modules/config_translation/src/ConfigMapperManagerInterface.php \Drupal\config_translation\ConfigMapperManagerInterface
Provides a common interface for config mapper managers.
Hierarchy
- interface \Drupal\Component\Plugin\Discovery\DiscoveryInterface; interface \Drupal\Component\Plugin\Factory\FactoryInterface; interface \Drupal\Component\Plugin\Mapper\MapperInterface
- interface \Drupal\Component\Plugin\PluginManagerInterface extends \Drupal\Component\Plugin\Discovery\DiscoveryInterface \Drupal\Component\Plugin\Factory\FactoryInterface \Drupal\Component\Plugin\Mapper\MapperInterface
- interface \Drupal\config_translation\ConfigMapperManagerInterface extends \Drupal\Component\Plugin\PluginManagerInterface
- interface \Drupal\Component\Plugin\PluginManagerInterface extends \Drupal\Component\Plugin\Discovery\DiscoveryInterface \Drupal\Component\Plugin\Factory\FactoryInterface \Drupal\Component\Plugin\Mapper\MapperInterface
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 - ConfigTranslationController.php in core/
modules/ config_translation/ src/ Controller/ ConfigTranslationController.php - ConfigTranslationDeleteForm.php in core/
modules/ config_translation/ src/ Form/ ConfigTranslationDeleteForm.php - ConfigTranslationFormBase.php in core/
modules/ config_translation/ src/ Form/ ConfigTranslationFormBase.php - ConfigTranslationListController.php in core/
modules/ config_translation/ src/ Controller/ ConfigTranslationListController.php
File
-
core/
modules/ config_translation/ src/ ConfigMapperManagerInterface.php, line 11
Namespace
Drupal\config_translationView 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
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
ConfigMapperManagerInterface::getMappers | public | function | Returns an array of all mappers. |
ConfigMapperManagerInterface::hasTranslatable | public | function | Returns TRUE if the configuration data has translatable items. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.