protected function DeleteForm::getQuestion

Same name in this branch

Returns the question to ask the user.

Return value

string The form question. The page title will be set to this value.

Overrides ConfirmFormBase::getQuestion

File

drupal/core/modules/forum/lib/Drupal/forum/Form/DeleteForm.php, line 35
Contains \Drupal\forum\Form\DeleteForm.

Class

DeleteForm
Builds the form to delete a forum term.

Namespace

Drupal\forum\Form

Code

protected function getQuestion() {
  return t('Are you sure you want to delete the forum %label?', array(
    '%label' => $this->taxonomyTerm
      ->label(),
  ));
}