ConfigNamesMapper::addConfigName

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;
}
doc_Drupal
2016-10-29 08:54:16
Comments
Leave a Comment

Please login to continue.