public function GoogleImageSitemapDeleteForm::getConfirmText in Google Image Sitemap 2.0.x
Same name and namespace in other branches
- 8 src/Form/GoogleImageSitemapDeleteForm.php \Drupal\google_image_sitemap\Form\GoogleImageSitemapDeleteForm::getConfirmText()
- 1.0.x src/Form/GoogleImageSitemapDeleteForm.php \Drupal\google_image_sitemap\Form\GoogleImageSitemapDeleteForm::getConfirmText()
Returns a caption for the button that confirms the action.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.
Overrides ConfirmFormBase::getConfirmText
File
- src/
Form/ GoogleImageSitemapDeleteForm.php, line 52
Class
- GoogleImageSitemapDeleteForm
- Defines a confirmation form for deleting mymodule data.
Namespace
Drupal\google_image_sitemap\FormCode
public function getConfirmText() {
return $this
->t('Delete it!');
}