You are here

public function EnvironmentIndicatorDeleteForm::getDescription in Environment Indicator 8.3

Same name and namespace in other branches
  1. 8.2 lib/Drupal/environment_indicator/Form/EnvironmentIndicatorDeleteForm.php \Drupal\environment_indicator\Form\EnvironmentIndicatorDeleteForm::getDescription()
  2. 4.x src/Form/EnvironmentIndicatorDeleteForm.php \Drupal\environment_indicator\Form\EnvironmentIndicatorDeleteForm::getDescription()

Returns additional text to display as a description.

Return value

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

Overrides EntityConfirmFormBase::getDescription

File

src/Form/EnvironmentIndicatorDeleteForm.php, line 42

Class

EnvironmentIndicatorDeleteForm
Provides a deletion confirmation form for environment_indicator environment.

Namespace

Drupal\environment_indicator\Form

Code

public function getDescription() {
  return $this
    ->t('Deleting a environment will make disappear the indicator.');
}