public function GridStackVariantDeleteForm::getQuestion in GridStack 8.2
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 GridStackDeleteForm::getQuestion
File
- modules/
gridstack_ui/ src/ Form/ GridStackVariantDeleteForm.php, line 15
Class
- GridStackVariantDeleteForm
- Builds the form to delete a GridStack optionset.
Namespace
Drupal\gridstack_ui\FormCode
public function getQuestion() {
return $this
->t('Are you sure you want to delete the GridStack variant %label?', [
'%label' => $this->entity
->label(),
]);
}