function ConfigEntityMapper::getTitle

Same name in other branches
  1. 9 core/modules/config_translation/src/ConfigEntityMapper.php \Drupal\config_translation\ConfigEntityMapper::getTitle()
  2. 8.9.x core/modules/config_translation/src/ConfigEntityMapper.php \Drupal\config_translation\ConfigEntityMapper::getTitle()
  3. 11.x core/modules/config_translation/src/ConfigEntityMapper.php \Drupal\config_translation\ConfigEntityMapper::getTitle()

Overrides ConfigNamesMapper::getTitle

File

core/modules/config_translation/src/ConfigEntityMapper.php, line 149

Class

ConfigEntityMapper
Configuration mapper for configuration entities.

Namespace

Drupal\config_translation

Code

public function getTitle() {
    return $this->entity
        ->label() . ' ' . $this->pluginDefinition['title'];
}

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