You are here

public function FacConfigEnableConfirmForm::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/FacConfigEnableConfirmForm.php, line 38

Class

FacConfigEnableConfirmForm
Defines a confirm form for disabling an index.

Namespace

Drupal\fac\Form

Code

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