You are here

public function WordfilterConfigurationDeleteForm::getConfirmText in Wordfilter 8.2

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

Class

WordfilterConfigurationDeleteForm
Builds the form to delete Wordfilter configuration entities.

Namespace

Drupal\wordfilter\Form

Code

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