ConfigNamesMapper |
class |
core/modules/config_translation/src/ConfigNamesMapper.php |
Configuration mapper base implementation. |
ConfigNamesMapper.php |
file |
core/modules/config_translation/src/ConfigNamesMapper.php |
|
ConfigNamesMapper::$baseRoute |
property |
core/modules/config_translation/src/ConfigNamesMapper.php |
The base route object that the mapper is attached to. |
ConfigNamesMapper::$configFactory |
property |
core/modules/config_translation/src/ConfigNamesMapper.php |
The configuration factory. |
ConfigNamesMapper::$configMapperManager |
property |
core/modules/config_translation/src/ConfigNamesMapper.php |
The mapper plugin discovery service. |
ConfigNamesMapper::$eventDispatcher |
property |
core/modules/config_translation/src/ConfigNamesMapper.php |
The event dispatcher. |
ConfigNamesMapper::$langcode |
property |
core/modules/config_translation/src/ConfigNamesMapper.php |
The language code of the language this mapper, if any. |
ConfigNamesMapper::$languageManager |
property |
core/modules/config_translation/src/ConfigNamesMapper.php |
The language manager. |
ConfigNamesMapper::$localeConfigManager |
property |
core/modules/config_translation/src/ConfigNamesMapper.php |
The typed configuration manager. |
ConfigNamesMapper::$routeCollection |
property |
core/modules/config_translation/src/ConfigNamesMapper.php |
The available routes. |
ConfigNamesMapper::$routeProvider |
property |
core/modules/config_translation/src/ConfigNamesMapper.php |
The route provider. |
ConfigNamesMapper::$typedConfigManager |
property |
core/modules/config_translation/src/ConfigNamesMapper.php |
The typed config manager. |
ConfigNamesMapper::addConfigName |
function |
core/modules/config_translation/src/ConfigNamesMapper.php |
Adds the given configuration name to the list of names. |
ConfigNamesMapper::create |
function |
core/modules/config_translation/src/ConfigNamesMapper.php |
Creates an instance of the plugin. |
ConfigNamesMapper::getAddRoute |
function |
core/modules/config_translation/src/ConfigNamesMapper.php |
Returns the route object for a translation add form route. |
ConfigNamesMapper::getAddRouteName |
function |
core/modules/config_translation/src/ConfigNamesMapper.php |
Returns route name for the translation add form route. |
ConfigNamesMapper::getAddRouteParameters |
function |
core/modules/config_translation/src/ConfigNamesMapper.php |
Returns the route parameters for the translation add form route. |
ConfigNamesMapper::getBasePath |
function |
core/modules/config_translation/src/ConfigNamesMapper.php |
Returns a processed path for the base route the mapper is attached to. |
ConfigNamesMapper::getBaseRoute |
function |
core/modules/config_translation/src/ConfigNamesMapper.php |
Returns the base route object the mapper is attached to. |
ConfigNamesMapper::getBaseRouteName |
function |
core/modules/config_translation/src/ConfigNamesMapper.php |
Returns the name of the base route the mapper is attached to. |
ConfigNamesMapper::getBaseRouteParameters |
function |
core/modules/config_translation/src/ConfigNamesMapper.php |
Returns the route parameters for the base route the mapper is attached to. |
ConfigNamesMapper::getConfigData |
function |
core/modules/config_translation/src/ConfigNamesMapper.php |
Returns an array with all configuration data. |
ConfigNamesMapper::getConfigNames |
function |
core/modules/config_translation/src/ConfigNamesMapper.php |
Returns an array of configuration names for the mapper. |
ConfigNamesMapper::getContextualLinkGroup |
function |
core/modules/config_translation/src/ConfigNamesMapper.php |
Returns the name of the contextual link group to add contextual links to. |
ConfigNamesMapper::getDeleteRoute |
function |
core/modules/config_translation/src/ConfigNamesMapper.php |
Returns the route object for the translation deletion route. |
ConfigNamesMapper::getDeleteRouteName |
function |
core/modules/config_translation/src/ConfigNamesMapper.php |
Returns route name for the translation deletion route. |
ConfigNamesMapper::getDeleteRouteParameters |
function |
core/modules/config_translation/src/ConfigNamesMapper.php |
Returns the route parameters for the translation deletion route. |
ConfigNamesMapper::getEditRoute |
function |
core/modules/config_translation/src/ConfigNamesMapper.php |
Returns the route object for a translation edit form route. |
ConfigNamesMapper::getEditRouteName |
function |
core/modules/config_translation/src/ConfigNamesMapper.php |
Returns route name for the translation edit form route. |
ConfigNamesMapper::getEditRouteParameters |
function |
core/modules/config_translation/src/ConfigNamesMapper.php |
Returns the route parameters for the translation edit form route. |
ConfigNamesMapper::getLangcode |
function |
core/modules/config_translation/src/ConfigNamesMapper.php |
Returns the original language code of the configuration. |
ConfigNamesMapper::getLangcodeFromConfig |
function |
core/modules/config_translation/src/ConfigNamesMapper.php |
Returns the language code of a configuration object given its name. |
ConfigNamesMapper::getOperations |
function |
core/modules/config_translation/src/ConfigNamesMapper.php |
Provides an array of information to build a list of operation links. |
ConfigNamesMapper::getOverviewPath |
function |
core/modules/config_translation/src/ConfigNamesMapper.php |
Returns a processed path for the translation overview route. |
ConfigNamesMapper::getOverviewRoute |
function |
core/modules/config_translation/src/ConfigNamesMapper.php |
Returns the route object for a translation overview route. |
ConfigNamesMapper::getOverviewRouteName |
function |
core/modules/config_translation/src/ConfigNamesMapper.php |
Returns route name for the translation overview route. |
ConfigNamesMapper::getOverviewRouteParameters |
function |
core/modules/config_translation/src/ConfigNamesMapper.php |
Returns the route parameters for the translation overview route. |
ConfigNamesMapper::getTitle |
function |
core/modules/config_translation/src/ConfigNamesMapper.php |
Returns title of this translation page. |
ConfigNamesMapper::getTypeLabel |
function |
core/modules/config_translation/src/ConfigNamesMapper.php |
Returns the label of the type of data the mapper encapsulates. |
ConfigNamesMapper::getTypeName |
function |
core/modules/config_translation/src/ConfigNamesMapper.php |
Returns the name of the type of data the mapper encapsulates. |
ConfigNamesMapper::getWeight |
function |
core/modules/config_translation/src/ConfigNamesMapper.php |
Returns the weight of the mapper. |
ConfigNamesMapper::hasSchema |
function |
core/modules/config_translation/src/ConfigNamesMapper.php |
Checks that all pieces of this configuration mapper have a schema. |
ConfigNamesMapper::hasTranslatable |
function |
core/modules/config_translation/src/ConfigNamesMapper.php |
Checks if pieces of this configuration mapper have translatables. |
ConfigNamesMapper::hasTranslation |
function |
core/modules/config_translation/src/ConfigNamesMapper.php |
Checks whether there is already a translation for this mapper. |
ConfigNamesMapper::populateFromRouteMatch |
function |
core/modules/config_translation/src/ConfigNamesMapper.php |
Populate the config mapper with route match data. |
ConfigNamesMapper::processRoute |
function |
core/modules/config_translation/src/ConfigNamesMapper.php |
Allows to process all config translation routes. |
ConfigNamesMapper::setLangcode |
function |
core/modules/config_translation/src/ConfigNamesMapper.php |
Sets the original language code. |
ConfigNamesMapper::setRouteCollection |
function |
core/modules/config_translation/src/ConfigNamesMapper.php |
Sets the route collection. |
ConfigNamesMapper::__construct |
function |
core/modules/config_translation/src/ConfigNamesMapper.php |
Constructs a ConfigNamesMapper. |
ConfigNamesMapperTest |
class |
core/modules/config_translation/tests/src/Unit/ConfigNamesMapperTest.php |
Tests the functionality provided by the configuration names mapper. |