You are here

public function ConfigEntityMapper::getTitle in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/config_translation/src/ConfigEntityMapper.php \Drupal\config_translation\ConfigEntityMapper::getTitle()

Returns title of this translation page.

Return value

string The page title.

Overrides ConfigNamesMapper::getTitle

File

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

Class

ConfigEntityMapper
Configuration mapper for configuration entities.

Namespace

Drupal\config_translation

Code

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