You are here

public function WeatherDisplayDeleteForm::getQuestion in Weather 8

Same name and namespace in other branches
  1. 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\Form

Code

public function getQuestion() {
  return $this
    ->t('Are sure you want to remove this weather display?');
}