You are here

public function SearchIndexWipeConfirm::getConfirmText in Search Index Wipe 8

Returns a caption for the button that confirms the action.

Return value

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

Overrides ConfirmFormBase::getConfirmText

File

src/Form/SearchIndexWipeConfirm.php, line 34

Class

SearchIndexWipeConfirm
Class SearchIndexWipeConfirm.

Namespace

Drupal\searchindex_wipe\Form

Code

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