You are here

public function DeleteForm::getConfirmText in Access Filter 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/DeleteForm.php, line 31

Class

DeleteForm
Provides delete filter form.

Namespace

Drupal\access_filter\Form

Code

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