You are here

public static function MappingForm::formTitle in Bibliography & Citation 8

Same name and namespace in other branches
  1. 2.0.x modules/bibcite_entity/src/Form/MappingForm.php \Drupal\bibcite_entity\Form\MappingForm::formTitle()

Mapping page title callback.

Parameters

\Drupal\bibcite\Plugin\BibciteFormatInterface $bibcite_format: Format plugin.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup Translatable title.

File

modules/bibcite_entity/src/Form/MappingForm.php, line 226

Class

MappingForm
Format mapping form.

Namespace

Drupal\bibcite_entity\Form

Code

public static function formTitle(BibciteFormatInterface $bibcite_format) {
  return t('Mapping for @format format', [
    '@format' => $bibcite_format
      ->getLabel(),
  ]);
}