You are here

public function WeatherDisplayPlaceDeleteForm::getQuestion in Weather 8

Same name and namespace in other branches
  1. 2.0.x src/Form/WeatherDisplayPlaceDeleteForm.php \Drupal\weather\Form\WeatherDisplayPlaceDeleteForm::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/WeatherDisplayPlaceDeleteForm.php, line 20

Class

WeatherDisplayPlaceDeleteForm
Provides a form for deleting a weather_display_place entity.

Namespace

Drupal\weather\Form

Code

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