function ReindexConfirm::getCancelText

Same name in other branches
  1. 8.9.x core/modules/search/src/Form/ReindexConfirm.php \Drupal\search\Form\ReindexConfirm::getCancelText()
  2. 10 core/modules/search/src/Form/ReindexConfirm.php \Drupal\search\Form\ReindexConfirm::getCancelText()
  3. 11.x 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.