You are here

public function ConfigEntityMapper::getTitle in Drupal 8

Same name and namespace in other branches
  1. 9 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 174

Class

ConfigEntityMapper
Configuration mapper for configuration entities.

Namespace

Drupal\config_translation

Code

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