public function IndexBreakLockForm::getConfirmText in Search API 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/ IndexBreakLockForm.php, line 115
Class
- IndexBreakLockForm
- Builds the form to break the lock of an edited search index.
Namespace
Drupal\search_api\FormCode
public function getConfirmText() {
return $this
->t('Break lock');
}