ConfigNamesMapper::getTitle

public ConfigNamesMapper::getTitle()

Returns title of this translation page.

Return value

string The page title.

Overrides ConfigMapperInterface::getTitle

File

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

Class

ConfigNamesMapper
Configuration mapper base implementation.

Namespace

Drupal\config_translation

Code

1
2
3
4
5
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']);
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.