You are here

public function GoogleImageSitemapDeleteConfirmForm::getQuestion in Google Image Sitemap 8

Same name and namespace in other branches
  1. 2.0.x src/Form/GoogleImageSitemapDeleteConfirmForm.php \Drupal\google_image_sitemap\Form\GoogleImageSitemapDeleteConfirmForm::getQuestion()
  2. 1.0.x src/Form/GoogleImageSitemapDeleteConfirmForm.php \Drupal\google_image_sitemap\Form\GoogleImageSitemapDeleteConfirmForm::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/GoogleImageSitemapDeleteConfirmForm.php, line 54

Class

GoogleImageSitemapDeleteConfirmForm
Provides a confirmation form before clearing out the logs.

Namespace

Drupal\google_image_sitemap\Form

Code

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