You are here

public function BrokenLinkDeleteForm::getQuestion in Broken Link 8

Same name and namespace in other branches
  1. 8.3 src/Form/BrokenLinkDeleteForm.php \Drupal\broken_link\Form\BrokenLinkDeleteForm::getQuestion()
  2. 8.2 src/Form/BrokenLinkDeleteForm.php \Drupal\broken_link\Form\BrokenLinkDeleteForm::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

1 call to BrokenLinkDeleteForm::getQuestion()
BrokenLinkDeleteForm::buildForm in src/Form/BrokenLinkDeleteForm.php
Form constructor.

File

src/Form/BrokenLinkDeleteForm.php, line 17

Class

BrokenLinkDeleteForm
Builds the form to delete Broken link entity entities.

Namespace

Drupal\broken_link\Form

Code

public function getQuestion() {
  return $this
    ->t('Are you sure you want to delete the broken link?', []);
}