public function FacConfigDisableConfirmForm::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/ FacConfigDisableConfirmForm.php, line 67
Class
- FacConfigDisableConfirmForm
- Defines a confirm form for disabling an index.
Namespace
Drupal\fac\FormCode
public function getConfirmText() {
return $this
->t('Disable');
}