You are here

public function IndexRebuildTrackerConfirmForm::getDescription in Search API 8

Returns additional text to display as a description.

Return value

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

Overrides EntityConfirmFormBase::getDescription

File

src/Form/IndexRebuildTrackerConfirmForm.php, line 36

Class

IndexRebuildTrackerConfirmForm
Defines a confirm form for clearing an index.

Namespace

Drupal\search_api\Form

Code

public function getDescription() {
  return $this
    ->t("<p>The complete information about existing and indexed items for this index will be deleted and will have to be rebuilt.</p><p>This should usually not be necessary, but can help if some existing items aren't contained in the index's tracking data for whatever reason (in other words, when the total number of items to be indexed is less than it should be).</p><p>This action cannot be undone.</p>");
}