public function ContextDeleteForm::getQuestion in Context 8.4
Same name and namespace in other branches
- 8 modules/context_ui/src/Form/ContextDeleteForm.php \Drupal\context_ui\Form\ContextDeleteForm::getQuestion()
- 8.0 modules/context_ui/src/Form/ContextDeleteForm.php \Drupal\context_ui\Form\ContextDeleteForm::getQuestion()
Returns the question to ask the user.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form question. The page title will be set to this value.
Overrides ConfirmFormInterface::getQuestion
File
- modules/
context_ui/ src/ Form/ ContextDeleteForm.php, line 45
Class
- ContextDeleteForm
- Provides a form to delete a context.
Namespace
Drupal\context_ui\FormCode
public function getQuestion() {
return $this
->t('Are you sure you want to delete the %label context?', [
'%label' => $this->entity
->getLabel(),
]);
}