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