ConfigMapperManager::buildDataDefinition

public ConfigMapperManager::buildDataDefinition(array $definition, $value = NULL, $name = NULL, $parent = NULL) File core/modules/config_translation/src/ConfigMapperManager.php, line 139 Class ConfigMapperManager Manages plugins for configuration translation mappers. Namespace Drupal\config_translation Code public function buildDataDefinition(array $definition, $value = NULL, $name = NULL, $parent = NULL) { return $this->typedConfigManager->buildDataDefinition($definition, $val

ConfigMapperManager::$typedConfigManager

The typed config manager. Type: \Drupal\Core\Config\TypedConfigManagerInterface File core/modules/config_translation/src/ConfigMapperManager.php, line 30 Class ConfigMapperManager Manages plugins for configuration translation mappers. Namespace Drupal\config_translation Code protected $typedConfigManager;

ConfigMapperManager::$themeHandler

The theme handler. Type: \Drupal\Core\Extension\ThemeHandlerInterface File core/modules/config_translation/src/ConfigMapperManager.php, line 37 Class ConfigMapperManager Manages plugins for configuration translation mappers. Namespace Drupal\config_translation Code protected $themeHandler;

ConfigMapperManager::$defaults

A set of defaults to be referenced by $this->processDefinition() if additional processing of plugins is necessary or helpful for development purposes. Type: array Overrides DefaultPluginManager::$defaults File core/modules/config_translation/src/ConfigMapperManager.php, line 42 Class ConfigMapperManager Manages plugins for configuration translation mappers. Namespace Drupal\config_translation Code protected $defaults = array( 'title' => '', 'names' => array(), 'weight' =

ConfigMapperManager

Manages plugins for configuration translation mappers. Hierarchy class \Drupal\Component\Plugin\PluginManagerBase implements PluginManagerInterface uses DiscoveryTraitclass \Drupal\Core\Plugin\DefaultPluginManager implements CachedDiscoveryInterface, PluginManagerInterface, CacheableDependencyInterface uses DiscoveryCachedTrait, UseCacheBackendTraitclass \Drupal\config_translation\ConfigMapperManager implements ConfigMapperManagerInterface File core/modules/config_translation/src/ConfigMap

ConfigMapperLanguageException

Provides an exception for configuration mappers with multiple languages. Hierarchy class \Drupal\config_translation\Exception\ConfigMapperLanguageException extends \RuntimeException File core/modules/config_translation/src/Exception/ConfigMapperLanguageException.php, line 8 Namespace Drupal\config_translation\Exception Members

ConfigMapperInterface::setRouteCollection

public ConfigMapperInterface::setRouteCollection(RouteCollection $collection) Sets the route collection. Parameters \Symfony\Component\Routing\RouteCollection $collection: The route collection. File core/modules/config_translation/src/ConfigMapperInterface.php, line 28 Class ConfigMapperInterface Defines an interface for configuration mapper. Namespace Drupal\config_translation Code public function setRouteCollection(RouteCollection $collection);

ConfigMapperInterface::setLangcode

public ConfigMapperInterface::setLangcode($langcode) Sets the original language code. Parameters string $langcode: The langcode. Return value $this File core/modules/config_translation/src/ConfigMapperInterface.php, line 224 Class ConfigMapperInterface Defines an interface for configuration mapper. Namespace Drupal\config_translation Code public function setLangcode($langcode);

ConfigMapperInterface::populateFromRouteMatch

public ConfigMapperInterface::populateFromRouteMatch(RouteMatchInterface $route_match) Populate the config mapper with request data. @todo Replace $request with RouteMatch https://www.drupal.org/node/2295255. Parameters \Drupal\Core\Routing\RouteMatchInterface $route_match: The route match. File core/modules/config_translation/src/ConfigMapperInterface.php, line 292 Class ConfigMapperInterface Defines an interface for configuration mapper. Namespace Drupal\config_translation Code publ

ConfigMapperInterface::hasTranslation

public ConfigMapperInterface::hasTranslation(LanguageInterface $language) Checks whether there is already a translation for this mapper. Parameters \Drupal\Core\Language\LanguageInterface $language: A language object. Return value bool TRUE if any of the configuration elements have a translation in the given language, FALSE otherwise. File core/modules/config_translation/src/ConfigMapperInterface.php, line 282 Class ConfigMapperInterface Defines an interface for configuration mapper. N