ConfigMapperManagerInterface::hasTranslatable

public ConfigMapperManagerInterface::hasTranslatable($name) Returns TRUE if the configuration data has translatable items. Parameters string $name: Configuration key. Return value bool A boolean indicating if the configuration data has translatable items. File core/modules/config_translation/src/ConfigMapperManagerInterface.php, line 33 Class ConfigMapperManagerInterface Provides a common interface for config mapper managers. Namespace Drupal\config_translation Code public function h

ConfigMapperManagerInterface::getMappers

public ConfigMapperManagerInterface::getMappers(RouteCollection $collection = NULL) Returns an array of all mappers. Parameters \Symfony\Component\Routing\RouteCollection $collection: The route collection used to initialize the mappers. Return value \Drupal\config_translation\ConfigMapperInterface[] An array of all mappers. File core/modules/config_translation/src/ConfigMapperManagerInterface.php, line 22 Class ConfigMapperManagerInterface Provides a common interface for config mapper ma

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\MapperInterfaceinterface \Drupal\Component\Plugin\PluginManagerInterfaceinterface \Drupal\config_translation\ConfigMapperManagerInterface File core/modules/config_translation/src/ConfigMapperManagerInterface.php, line 11 Namespace Drupal\config_translation

ConfigMapperManager::__construct

public ConfigMapperManager::__construct(CacheBackendInterface $cache_backend, LanguageManagerInterface $language_manager, ModuleHandlerInterface $module_handler, TypedConfigManagerInterface $typed_config_manager, ThemeHandlerInterface $theme_handler) Constructs a ConfigMapperManager. Parameters \Drupal\Core\Cache\CacheBackendInterface $cache_backend: The cache backend. \Drupal\Core\Language\LanguageManagerInterface $language_manager: The language manager. \Drupal\Core\Extension\ModuleHandlerIn

ConfigMapperManager::processDefinition

public ConfigMapperManager::processDefinition(&$definition, $plugin_id) Performs extra processing on plugin definitions. By default we add defaults for the type to the definition. If a type has additional processing logic they can do that by replacing or extending the method. Overrides DefaultPluginManager::processDefinition File core/modules/config_translation/src/ConfigMapperManager.php, line 128 Class ConfigMapperManager Manages plugins for configuration translation mappers. Names

ConfigMapperManager::hasTranslatable

public ConfigMapperManager::hasTranslatable($name) Returns TRUE if the configuration data has translatable items. Parameters string $name: Configuration key. Return value bool A boolean indicating if the configuration data has translatable items. Overrides ConfigMapperManagerInterface::hasTranslatable File core/modules/config_translation/src/ConfigMapperManager.php, line 168 Class ConfigMapperManager Manages plugins for configuration translation mappers. Namespace Drupal\config_transl

ConfigMapperManager::getMappers

public ConfigMapperManager::getMappers(RouteCollection $collection = NULL) Returns an array of all mappers. Parameters \Symfony\Component\Routing\RouteCollection $collection: The route collection used to initialize the mappers. Return value \Drupal\config_translation\ConfigMapperInterface[] An array of all mappers. Overrides ConfigMapperManagerInterface::getMappers File core/modules/config_translation/src/ConfigMapperManager.php, line 113 Class ConfigMapperManager Manages plugins for con

ConfigMapperManager::getDiscovery

protected ConfigMapperManager::getDiscovery() Gets the plugin discovery. Return value \Drupal\Component\Plugin\Discovery\DiscoveryInterface Overrides DefaultPluginManager::getDiscovery File core/modules/config_translation/src/ConfigMapperManager.php, line 81 Class ConfigMapperManager Manages plugins for configuration translation mappers. Namespace Drupal\config_translation Code protected function getDiscovery() { if (!isset($this->discovery)) { // Look at all themes and modul

ConfigMapperManager::findTranslatable

protected ConfigMapperManager::findTranslatable(TypedDataInterface $element) Returns TRUE if at least one translatable element is found. Parameters \Drupal\Core\TypedData\TypedDataInterface $element: Configuration schema element. Return value bool A boolean indicating if there is at least one translatable element. File core/modules/config_translation/src/ConfigMapperManager.php, line 181 Class ConfigMapperManager Manages plugins for configuration translation mappers. Namespace Drupal\

ConfigMapperManager::findDefinitions

protected ConfigMapperManager::findDefinitions() Finds plugin definitions. Return value array List of definitions to store in cache. Overrides DefaultPluginManager::findDefinitions File core/modules/config_translation/src/ConfigMapperManager.php, line 146 Class ConfigMapperManager Manages plugins for configuration translation mappers. Namespace Drupal\config_translation Code protected function findDefinitions() { $definitions = $this->getDiscovery()->getDefinitions(); foreac