ConfigNamesMapper::getLangcode

public ConfigNamesMapper::getLangcode() Returns the original language code of the configuration. Throws \RuntimeException Throws an exception if the language codes in the config files don't match. Overrides ConfigMapperInterface::getLangcode File core/modules/config_translation/src/ConfigNamesMapper.php, line 383 Class ConfigNamesMapper Configuration mapper base implementation. Namespace Drupal\config_translation Code public function getLangcode() { $langcodes = array_map([$this, 'g

ConfigNamesMapper::getEditRouteParameters

public ConfigNamesMapper::getEditRouteParameters() Returns the route parameters for the translation edit form route. Return value array Overrides ConfigMapperInterface::getEditRouteParameters File core/modules/config_translation/src/ConfigNamesMapper.php, line 295 Class ConfigNamesMapper Configuration mapper base implementation. Namespace Drupal\config_translation Code public function getEditRouteParameters() { return $this->getAddRouteParameters(); }

ConfigNamesMapper::getEditRouteName

public ConfigNamesMapper::getEditRouteName() Returns route name for the translation edit form route. Return value string Route name for the mapper. Overrides ConfigMapperInterface::getEditRouteName File core/modules/config_translation/src/ConfigNamesMapper.php, line 288 Class ConfigNamesMapper Configuration mapper base implementation. Namespace Drupal\config_translation Code public function getEditRouteName() { return 'config_translation.item.edit.' . $this->getBaseRouteName(); }

ConfigNamesMapper::getEditRoute

public ConfigNamesMapper::getEditRoute() Returns the route object for a translation edit form route. Return value \Symfony\Component\Routing\Route The route object for the translation page. Overrides ConfigMapperInterface::getEditRoute File core/modules/config_translation/src/ConfigNamesMapper.php, line 302 Class ConfigNamesMapper Configuration mapper base implementation. Namespace Drupal\config_translation Code public function getEditRoute() { $route = new Route( $this->getBas

ConfigNamesMapper::getDeleteRouteParameters

public ConfigNamesMapper::getDeleteRouteParameters() Returns the route parameters for the translation deletion route. Return value array Overrides ConfigMapperInterface::getDeleteRouteParameters File core/modules/config_translation/src/ConfigNamesMapper.php, line 325 Class ConfigNamesMapper Configuration mapper base implementation. Namespace Drupal\config_translation Code public function getDeleteRouteParameters() { return $this->getAddRouteParameters(); }

ConfigNamesMapper::getDeleteRouteName

public ConfigNamesMapper::getDeleteRouteName() Returns route name for the translation deletion route. Return value string Route name for the mapper. Overrides ConfigMapperInterface::getDeleteRouteName File core/modules/config_translation/src/ConfigNamesMapper.php, line 318 Class ConfigNamesMapper Configuration mapper base implementation. Namespace Drupal\config_translation Code public function getDeleteRouteName() { return 'config_translation.item.delete.' . $this->getBaseRouteNa

ConfigNamesMapper::getDeleteRoute

public ConfigNamesMapper::getDeleteRoute() Returns the route object for the translation deletion route. Return value \Symfony\Component\Routing\Route The route object for the translation page. Overrides ConfigMapperInterface::getDeleteRoute File core/modules/config_translation/src/ConfigNamesMapper.php, line 332 Class ConfigNamesMapper Configuration mapper base implementation. Namespace Drupal\config_translation Code public function getDeleteRoute() { $route = new Route( $this->

ConfigNamesMapper::getContextualLinkGroup

public ConfigNamesMapper::getContextualLinkGroup() Returns the name of the contextual link group to add contextual links to. Return value string|null A contextual link group name or null if no link should be added. Overrides ConfigMapperInterface::getContextualLinkGroup File core/modules/config_translation/src/ConfigNamesMapper.php, line 481 Class ConfigNamesMapper Configuration mapper base implementation. Namespace Drupal\config_translation Code public function getContextualLinkGroup

ConfigNamesMapper::getConfigNames

public ConfigNamesMapper::getConfigNames() Returns an array of configuration names for the mapper. Return value array An array of configuration names for the mapper. Overrides ConfigMapperInterface::getConfigNames File core/modules/config_translation/src/ConfigNamesMapper.php, line 348 Class ConfigNamesMapper Configuration mapper base implementation. Namespace Drupal\config_translation Code public function getConfigNames() { return $this->pluginDefinition['names']; }

ConfigNamesMapper::getConfigData

public ConfigNamesMapper::getConfigData() Returns an array with all configuration data. Return value array Configuration data keyed by configuration names. Overrides ConfigMapperInterface::getConfigData File core/modules/config_translation/src/ConfigNamesMapper.php, line 415 Class ConfigNamesMapper Configuration mapper base implementation. Namespace Drupal\config_translation Code public function getConfigData() { $config_data = array(); foreach ($this->getConfigNames() as $name