You are here

public function VariantPluginDeleteBlockForm::getConfirmText in Page Manager 8.4

Same name and namespace in other branches
  1. 8 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 71

Class

VariantPluginDeleteBlockForm
Provides a form for deleting an access condition.

Namespace

Drupal\page_manager_ui\Form

Code

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