You are here

public function WeatherDisplayDeleteForm::getDescription in Weather 2.0.x

Same name and namespace in other branches
  1. 8 src/Form/WeatherDisplayDeleteForm.php \Drupal\weather\Form\WeatherDisplayDeleteForm::getDescription()

Returns additional text to display as a description.

Return value

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

Overrides ContentEntityConfirmFormBase::getDescription

File

src/Form/WeatherDisplayDeleteForm.php, line 70

Class

WeatherDisplayDeleteForm
Provides a form for deleting a weather_display entity.

Namespace

Drupal\weather\Form

Code

public function getDescription() {
  return $this
    ->t('Related block and display places will be removed as well. This action cannot be undone.');
}