DeleteForm::getQuestion

public DeleteForm::getQuestion()

Returns the question to ask the user.

Return value

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

Overrides ConfirmFormInterface::getQuestion

File

core/modules/forum/src/Form/DeleteForm.php, line 32

Class

DeleteForm
Builds the form to delete a forum term.

Namespace

Drupal\forum\Form

Code

public function getQuestion() {
  return $this->t('Are you sure you want to delete the forum %label?', array('%label' => $this->taxonomyTerm->label()));
}
doc_Drupal
2016-10-29 09:02:09
Comments
Leave a Comment

Please login to continue.