function ReindexConfirm::getCancelText

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

Overrides ConfirmFormBase::getCancelText

File

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

Class

ReindexConfirm
Provides the search reindex confirmation form.

Namespace

Drupal\search\Form

Code

public function getCancelText() {
    return $this->t('Cancel');
}

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