You are here

public function PageDeleteForm::getConfirmText in Page Manager 8.4

Same name and namespace in other branches
  1. 8 page_manager_ui/src/Form/PageDeleteForm.php \Drupal\page_manager_ui\Form\PageDeleteForm::getConfirmText()

Returns a caption for the button that confirms the action.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.

Overrides EntityConfirmFormBase::getConfirmText

File

page_manager_ui/src/Form/PageDeleteForm.php, line 31

Class

PageDeleteForm
Provides a form for deleting a page entity.

Namespace

Drupal\page_manager_ui\Form

Code

public function getConfirmText() {
  return $this
    ->t('Delete');
}