You are here

public function ReindexConfirm::getCancelText 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::getCancelText()

Returns a caption for the link which cancels the action.

Return value

string The form cancellation text.

Overrides ConfirmFormBase::getCancelText

File

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

Class

ReindexConfirm
Provides the search reindex confirmation form.

Namespace

Drupal\search\Form

Code

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