You are here

public function ClusterDeleteForm::getDescription in Elasticsearch Connector 8

Same name and namespace in other branches
  1. 8.7 src/Form/ClusterDeleteForm.php \Drupal\elasticsearch_connector\Form\ClusterDeleteForm::getDescription()
  2. 8.2 src/Form/ClusterDeleteForm.php \Drupal\elasticsearch_connector\Form\ClusterDeleteForm::getDescription()
  3. 8.5 src/Form/ClusterDeleteForm.php \Drupal\elasticsearch_connector\Form\ClusterDeleteForm::getDescription()
  4. 8.6 src/Form/ClusterDeleteForm.php \Drupal\elasticsearch_connector\Form\ClusterDeleteForm::getDescription()

Returns additional text to display as a description.

Return value

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

Overrides EntityConfirmFormBase::getDescription

File

src/Form/ClusterDeleteForm.php, line 31
Contains \Drupal\elasticsearch_connector\Form\ClusterDeleteForm.

Class

ClusterDeleteForm
Defines a confirmation form for deletion of a custom menu.

Namespace

Drupal\elasticsearch_connector\Form

Code

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