You are here

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

Class

ServerDisableConfirmForm
Defines a confirm form for disabling a server.

Namespace

Drupal\search_api\Form

Code

public function getDescription() {
  return $this
    ->t('Disabling a server will also disable all attached indexes, clearing their tracking tables and indexed data. When re-enabling the server and its indexes, all data will have to be re-indexed. This action cannot be undone.');
}