You are here

public function FacConfigDeleteForm::getConfirmText in Fast Autocomplete 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/FacConfigDeleteForm.php, line 35

Class

FacConfigDeleteForm
Class FacConfigDeleteForm.

Namespace

Drupal\fac\Form

Code

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