You are here

public function GoogleImageSitemapDeleteForm::getDescription in Google Image Sitemap 2.0.x

Same name and namespace in other branches
  1. 8 src/Form/GoogleImageSitemapDeleteForm.php \Drupal\google_image_sitemap\Form\GoogleImageSitemapDeleteForm::getDescription()
  2. 1.0.x src/Form/GoogleImageSitemapDeleteForm.php \Drupal\google_image_sitemap\Form\GoogleImageSitemapDeleteForm::getDescription()

Returns additional text to display as a description.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form description.

Overrides ConfirmFormBase::getDescription

File

src/Form/GoogleImageSitemapDeleteForm.php, line 45

Class

GoogleImageSitemapDeleteForm
Defines a confirmation form for deleting mymodule data.

Namespace

Drupal\google_image_sitemap\Form

Code

public function getDescription() {
  return $this
    ->t('Only do this if you are sure!');
}