You are here

public function CkeditorTemplateDeleteForm::getConfirmText in Ckeditor templates user interface 8

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/CkeditorTemplateDeleteForm.php, line 31

Class

CkeditorTemplateDeleteForm
Builds the form to delete an ckeditor_template.

Namespace

Drupal\ckeditor_templates_ui\Form

Code

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