public function VariantPluginDeleteBlockForm::getQuestion in Page Manager 8
Same name and namespace in other branches
- 8.4 page_manager_ui/src/Form/VariantPluginDeleteBlockForm.php \Drupal\page_manager_ui\Form\VariantPluginDeleteBlockForm::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/ VariantPluginDeleteBlockForm.php, line 59 - Contains \Drupal\page_manager_ui\Form\VariantPluginDeleteBlockForm.
Class
- VariantPluginDeleteBlockForm
- Provides a form for deleting an access condition.
Namespace
Drupal\page_manager_ui\FormCode
public function getQuestion() {
return $this
->t('Are you sure you want to delete the block %label?', [
'%label' => $this->block
->label(),
]);
}