You are here

public function ReindexConfirm::getDescription in Drupal 9

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

Returns additional text to display as a description.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form description.

Overrides ConfirmFormBase::getDescription

File

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

Class

ReindexConfirm
Provides the search reindex confirmation form.

Namespace

Drupal\search\Form

Code

public function getDescription() {
  return $this
    ->t("This will re-index content in the search indexes of all active search pages. Searching will continue to work, but new content won't be indexed until all existing content has been re-indexed. This action cannot be undone.");
}