function ConfigNamesMapper::addConfigName
Same name in other branches
- 9 core/modules/config_translation/src/ConfigNamesMapper.php \Drupal\config_translation\ConfigNamesMapper::addConfigName()
- 10 core/modules/config_translation/src/ConfigNamesMapper.php \Drupal\config_translation\ConfigNamesMapper::addConfigName()
- 11.x core/modules/config_translation/src/ConfigNamesMapper.php \Drupal\config_translation\ConfigNamesMapper::addConfigName()
Overrides ConfigMapperInterface::addConfigName
3 calls to ConfigNamesMapper::addConfigName()
- ConfigEntityMapper::setEntity in core/
modules/ config_translation/ src/ ConfigEntityMapper.php - Sets the entity instance for this mapper.
- ConfigFieldMapper::setEntity in core/
modules/ config_translation/ src/ ConfigFieldMapper.php - Sets the entity instance for this mapper.
- NodeTypeMapper::setEntity in core/
modules/ node/ src/ ConfigTranslation/ NodeTypeMapper.php - Sets the entity instance for this mapper.
File
-
core/
modules/ config_translation/ src/ ConfigNamesMapper.php, line 369
Class
- ConfigNamesMapper
- Configuration mapper base implementation.
Namespace
Drupal\config_translationCode
public function addConfigName($name) {
$this->pluginDefinition['names'][] = $name;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.