You are here

public function PageVariantDeleteForm::getQuestion in Page Manager 8

Same name and namespace in other branches
  1. 8.4 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 66
Contains Drupal\page_manager_ui\Form\PageVariantDeleteForm.

Class

PageVariantDeleteForm
Builds the form to delete a PageVariant.

Namespace

Drupal\page_manager_ui\Form

Code

public function getQuestion() {
  return $this
    ->t('Are you sure you want to delete this variant?');
}