public function GoogleImageSitemapDeleteForm::getQuestion in Google Image Sitemap 8
Same name and namespace in other branches
- 2.0.x src/Form/GoogleImageSitemapDeleteForm.php \Drupal\google_image_sitemap\Form\GoogleImageSitemapDeleteForm::getQuestion()
- 1.0.x src/Form/GoogleImageSitemapDeleteForm.php \Drupal\google_image_sitemap\Form\GoogleImageSitemapDeleteForm::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/ GoogleImageSitemapDeleteForm.php, line 31
Class
- GoogleImageSitemapDeleteForm
- Defines a confirmation form for deleting mymodule data.
Namespace
Drupal\google_image_sitemap\FormCode
public function getQuestion() {
return $this
->t('Do you want to delete %id?', [
'%id' => $this->id,
]);
}