public function PageVariantDeleteForm::getQuestion in Page Manager 8.4
Same name and namespace in other branches
- 8 page_manager_ui/src/Form/PageVariantDeleteForm.php \Drupal\page_manager_ui\Form\PageVariantDeleteForm::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
- page_manager_ui/
src/ Form/ PageVariantDeleteForm.php, line 62
Class
- PageVariantDeleteForm
- Builds the form to delete a PageVariant.
Namespace
Drupal\page_manager_ui\FormCode
public function getQuestion() {
return $this
->t('Are you sure you want to delete this variant?');
}