public function BookRemoveForm::getQuestion in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/book/src/Form/BookRemoveForm.php \Drupal\book\Form\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 92 - Contains \Drupal\book\Form\BookRemoveForm.
Class
- BookRemoveForm
- Remove form for book module.
Namespace
Drupal\book\FormCode
public function getQuestion() {
return $this
->t('Are you sure you want to remove %title from the book hierarchy?', array(
'%title' => $this->node
->label(),
));
}