You are here

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

Class

ServerDeleteConfirmForm
Defines a confirm form for deleting a server.

Namespace

Drupal\search_api\Form

Code

public function getDescription() {
  return $this
    ->t('Deleting a server will disable all its indexes and their searches.');
}