You are here

public function GridStackDeleteForm::getQuestion in GridStack 8

Same name and namespace in other branches
  1. 8.2 modules/gridstack_ui/src/Form/GridStackDeleteForm.php \Drupal\gridstack_ui\Form\GridStackDeleteForm::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/gridstack_ui/src/Form/GridStackDeleteForm.php, line 17

Class

GridStackDeleteForm
Builds the form to delete a GridStack optionset.

Namespace

Drupal\gridstack_ui\Form

Code

public function getQuestion() {
  return $this
    ->t('Are you sure you want to delete the GridStack optionset %label?', [
    '%label' => $this->entity
      ->label(),
  ]);
}