public function BlockDeleteForm::getQuestion in Context 8
Same name and namespace in other branches
- 8.4 src/Reaction/Blocks/Form/BlockDeleteForm.php \Drupal\context\Reaction\Blocks\Form\BlockDeleteForm::getQuestion()
- 8.0 src/Reaction/Blocks/Form/BlockDeleteForm.php \Drupal\context\Reaction\Blocks\Form\BlockDeleteForm::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
- src/
Reaction/ Blocks/ Form/ BlockDeleteForm.php, line 77
Class
Namespace
Drupal\context\Reaction\Blocks\FormCode
public function getQuestion() {
return $this
->t('Are you sure you want to remove the %label block?', [
'%label' => $this->block
->getConfiguration()['label'],
]);
}