public function VariantPluginDeleteBlockForm::getConfirmText 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::getConfirmText()
Returns a caption for the button that confirms the action.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.
Overrides ConfirmFormBase::getConfirmText
File
- page_manager_ui/
src/ Form/ VariantPluginDeleteBlockForm.php, line 73 - 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 getConfirmText() {
return $this
->t('Delete');
}