You are here

public function MergeTranslationsForm::getTitle in Merge translations 8

Returns a page title.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup Page title.

1 string reference to 'MergeTranslationsForm::getTitle'
merge_translations.routing.yml in ./merge_translations.routing.yml
merge_translations.routing.yml

File

src/Form/MergeTranslationsForm.php, line 404

Class

MergeTranslationsForm
The merge translation form.

Namespace

Drupal\merge_translations\Form

Code

public function getTitle() {
  return $this
    ->t('Merge translations of %label', [
    '%label' => $this->node
      ->label(),
  ]);
}