You are here

public function BrokenLinkRedirectDeleteForm::getQuestion in Broken Link 8.2

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

File

src/Form/BrokenLinkRedirectDeleteForm.php, line 17

Class

BrokenLinkRedirectDeleteForm
Builds the form to delete Broken link redirect entity entities.

Namespace

Drupal\broken_link\Form

Code

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