You are here

public function BUEditorButtonDeleteForm::getConfirmText in BUEditor 8

Same name and namespace in other branches
  1. 8.2 src/Form/BUEditorButtonDeleteForm.php \Drupal\bueditor\Form\BUEditorButtonDeleteForm::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/BUEditorButtonDeleteForm.php, line 31

Class

BUEditorButtonDeleteForm
Provides a deletion confirmation form for BUEditor Button.

Namespace

Drupal\bueditor\Form

Code

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