You are here

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

Class

IndexDisableConfirmForm
Defines a confirm form for disabling an index.

Namespace

Drupal\search_api\Form

Code

public function getDescription() {
  return $this
    ->t('Searches on this index will stop working. Indexed data will be deleted from the server and will need to be reindexed when the index is enabled again.');
}