Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ConfigNamesMapper.php

function ConfigNamesMapper::getTitle

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']);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal