You are here

public function ReindexConfirm::getConfirmText in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/search/src/Form/ReindexConfirm.php \Drupal\search\Form\ReindexConfirm::getConfirmText()

Returns a caption for the button that confirms the action.

Return value

string The form confirmation text.

Overrides ConfirmFormBase::getConfirmText

File

core/modules/search/src/Form/ReindexConfirm.php, line 43
Contains \Drupal\search\Form\ReindexConfirm.

Class

ReindexConfirm
Provides the search reindex confirmation form.

Namespace

Drupal\search\Form

Code

public function getConfirmText() {
  return $this
    ->t('Re-index site');
}