You are here

public function PanelsDeleteBlockForm::getConfirmText in Panels 8.3

Same name and namespace in other branches
  1. 8.4 src/Form/PanelsDeleteBlockForm.php \Drupal\panels\Form\PanelsDeleteBlockForm::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

src/Form/PanelsDeleteBlockForm.php, line 100

Class

PanelsDeleteBlockForm
Provides a form for deleting an access condition.

Namespace

Drupal\panels\Form

Code

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