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
1 2 3 | public function getQuestion() { return $this ->t( 'Are you sure you want to remove %title from the book hierarchy?' , array ( '%title' => $this ->node->label())); } |
Please login to continue.