public function LiveWeatherDeleteForm::getDescription in Live Weather 8.2
Returns additional text to display as a description.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form description.
Overrides ConfirmFormBase::getDescription
File
- src/
Form/ LiveWeatherDeleteForm.php, line 69 - Contains \Drupal\live_weather\Form\LiveWeatherDeleteForm.
Class
- LiveWeatherDeleteForm
- Builds the form to delete the location.
Namespace
Drupal\live_weather\FormCode
public function getDescription() {
return $this
->t('Are you sure you want to delete location?');
}