You are here

public function MergeMultipleForm::getQuestion in Bibliography & Citation 8

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

Returns the question to ask the user.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form question. The page title will be set to this value.

Overrides ConfirmFormInterface::getQuestion

File

modules/bibcite_entity/src/Form/MergeMultipleForm.php, line 97

Class

MergeMultipleForm
Merge multiple bibliographic entities into one.

Namespace

Drupal\bibcite_entity\Form

Code

public function getQuestion() {
  return $this
    ->t('Are you sure you want to merge these @entity_type_label?', [
    '@entity_type_label' => $this->entityType
      ->getPluralLabel(),
  ]);
}