function ReindexConfirm::getConfirmText

Same name and namespace in other branches
  1. 9 core/modules/search/src/Form/ReindexConfirm.php \Drupal\search\Form\ReindexConfirm::getConfirmText()
  2. 8.9.x core/modules/search/src/Form/ReindexConfirm.php \Drupal\search\Form\ReindexConfirm::getConfirmText()
  3. 10 core/modules/search/src/Form/ReindexConfirm.php \Drupal\search\Form\ReindexConfirm::getConfirmText()

Overrides ConfirmFormBase::getConfirmText

File

core/modules/search/src/Form/ReindexConfirm.php, line 40

Class

ReindexConfirm
Provides the search reindex confirmation form.

Namespace

Drupal\search\Form

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.