public function WeatherDisplayDeleteForm::getQuestion in Weather 8
Same name and namespace in other branches
- 2.0.x src/Form/WeatherDisplayDeleteForm.php \Drupal\weather\Form\WeatherDisplayDeleteForm::getQuestion()
Returns the question to ask the user.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form question. The page title will be set to this value.
Overrides ConfirmFormInterface::getQuestion
File
- src/
Form/ WeatherDisplayDeleteForm.php, line 63
Class
- WeatherDisplayDeleteForm
- Provides a form for deleting a weather_display entity.
Namespace
Drupal\weather\FormCode
public function getQuestion() {
return $this
->t('Are sure you want to remove this weather display?');
}