You are here

public function IndexClearConfirmForm::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/IndexClearConfirmForm.php, line 38

Class

IndexClearConfirmForm
Defines a confirm form for clearing an index.

Namespace

Drupal\search_api\Form

Code

public function getDescription() {
  return $this
    ->t('All indexed data for this index will be deleted from the search server. Searches on this index will not return any results until items are reindexed. This action cannot be undone.');
}