public function PageVariantDeleteForm::getConfirmText in Page Manager 8.4
Same name and namespace in other branches
- 8 page_manager_ui/src/Form/PageVariantDeleteForm.php \Drupal\page_manager_ui\Form\PageVariantDeleteForm::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/ PageVariantDeleteForm.php, line 80
Class
- PageVariantDeleteForm
- Builds the form to delete a PageVariant.
Namespace
Drupal\page_manager_ui\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}