You are here

public function BUEditorEditorDeleteForm::getConfirmText in BUEditor 8.2

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

src/Form/BUEditorEditorDeleteForm.php, line 31

Class

BUEditorEditorDeleteForm
Provides a deletion confirmation form for BUEditor Editor.

Namespace

Drupal\bueditor\Form

Code

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