BookRemoveForm::getQuestion

public BookRemoveForm::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/book/src/Form/BookRemoveForm.php, line 87

Class

BookRemoveForm
Remove form for book module.

Namespace

Drupal\book\Form

Code

public function getQuestion() {
  return $this->t('Are you sure you want to remove %title from the book hierarchy?', array('%title' => $this->node->label()));
}
doc_Drupal
2016-10-29 08:48:31
Comments
Leave a Comment

Please login to continue.