public ConfigNamesMapper::addConfigName($name)
Adds the given configuration name to the list of names.
Note that it is the responsibility of the calling code to ensure that the configuration exists.
Parameters
string $name: Configuration name.
Overrides ConfigMapperInterface::addConfigName
File
- core/modules/config_translation/src/ConfigNamesMapper.php, line 355
Class
- ConfigNamesMapper
- Configuration mapper base implementation.
Namespace
Drupal\config_translation
Code
public function addConfigName($name) { $this->pluginDefinition['names'][] = $name; }
Please login to continue.