Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ConfigNamesMapper.php

function 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_translation

Code

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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal