You are here

public function ConfigNamesMapper::getTitle in Drupal 9

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

Returns title of this translation page.

Return value

string The page title.

Overrides ConfigMapperInterface::getTitle

1 call to ConfigNamesMapper::getTitle()
ConfigNamesMapper::getTypeLabel in core/modules/config_translation/src/ConfigNamesMapper.php
Returns the label of the type of data the mapper encapsulates.
1 method overrides ConfigNamesMapper::getTitle()
ConfigEntityMapper::getTitle in core/modules/config_translation/src/ConfigEntityMapper.php
Returns title of this translation page.

File

core/modules/config_translation/src/ConfigNamesMapper.php, line 180

Class

ConfigNamesMapper
Configuration mapper base implementation.

Namespace

Drupal\config_translation

Code

public function getTitle() {

  // A title from a *.config_translation.yml. Should be translated for
  // display in the current page language.
  return $this
    ->t($this->pluginDefinition['title']);
}