protected function DeleteForm::getQuestion

Same name in this branch
  1. 8.x drupal/core/modules/forum/lib/Drupal/forum/Form/DeleteForm.php \Drupal\forum\Form\DeleteForm::getQuestion()
  2. 8.x drupal/core/modules/contact/lib/Drupal/contact/Form/DeleteForm.php \Drupal\contact\Form\DeleteForm::getQuestion()
  3. 8.x drupal/core/modules/views_ui/lib/Drupal/views_ui/Form/DeleteForm.php \Drupal\views_ui\Form\DeleteForm::getQuestion()
  4. 8.x drupal/core/modules/path/lib/Drupal/path/Form/DeleteForm.php \Drupal\path\Form\DeleteForm::getQuestion()
  5. 8.x drupal/core/modules/action/lib/Drupal/action/Form/DeleteForm.php \Drupal\action\Form\DeleteForm::getQuestion()

Implements \Drupal\Core\Form\ConfirmFormBase::getQuestion().

Overrides ConfirmFormBase::getQuestion

File

drupal/core/modules/path/lib/Drupal/path/Form/DeleteForm.php, line 63
Contains \Drupal\path\Form\DeleteForm.

Class

DeleteForm
Builds the form to delete a path alias.

Namespace

Drupal\path\Form

Code

protected function getQuestion() {
  return t('Are you sure you want to delete path alias %title?', array(
    '%title' => $this->pathAlias['alias'],
  ));
}