You are here

public function MergeConfirmForm::getQuestion in Bibliography & Citation 8

Same name and namespace in other branches
  1. 2.0.x modules/bibcite_entity/src/Form/MergeConfirmForm.php \Drupal\bibcite_entity\Form\MergeConfirmForm::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/MergeConfirmForm.php, line 64

Class

MergeConfirmForm
Confirm merge of bibliographic entities.

Namespace

Drupal\bibcite_entity\Form

Code

public function getQuestion() {
  return $this
    ->t('Are you sure you want to merge @source to @target?', [
    '@source' => $this->source
      ->label(),
    '@target' => $this->target
      ->label(),
  ]);
}