You are here

public function ConfigNamesMapper::addConfigName in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/config_translation/src/ConfigNamesMapper.php \Drupal\config_translation\ConfigNamesMapper::addConfigName()
  2. 9 core/modules/config_translation/src/ConfigNamesMapper.php \Drupal\config_translation\ConfigNamesMapper::addConfigName()

File

core/modules/config_translation/src/ConfigNamesMapper.php, line 369

Class

ConfigNamesMapper
Configuration mapper base implementation.

Namespace

Drupal\config_translation

Code

public function addConfigName($name) {
  $this->pluginDefinition['names'][] = $name;
}