function ConfigNamesMapper::addConfigName

Same name in other branches
  1. 9 core/modules/config_translation/src/ConfigNamesMapper.php \Drupal\config_translation\ConfigNamesMapper::addConfigName()
  2. 8.9.x core/modules/config_translation/src/ConfigNamesMapper.php \Drupal\config_translation\ConfigNamesMapper::addConfigName()
  3. 10 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
ConfigFieldMapper::setEntity in core/modules/config_translation/src/ConfigFieldMapper.php
NodeTypeMapper::setEntity in core/modules/node/src/ConfigTranslation/NodeTypeMapper.php

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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.