You are here

public function SavedSearchDeleteConfirmForm::getConfirmText in Search API Saved Searches 8

Returns a caption for the button that confirms the action.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.

Overrides ContentEntityConfirmFormBase::getConfirmText

File

src/Form/SavedSearchDeleteConfirmForm.php, line 44

Class

SavedSearchDeleteConfirmForm
Provides a form for deleting a saved search.

Namespace

Drupal\search_api_saved_searches\Form

Code

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