public function GoogleImageSitemapDeleteForm::getCancelText 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::getCancelText()
- 1.0.x src/Form/GoogleImageSitemapDeleteForm.php \Drupal\google_image_sitemap\Form\GoogleImageSitemapDeleteForm::getCancelText()
Returns a caption for the link which cancels the action.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form cancellation text.
Overrides ConfirmFormBase::getCancelText
File
- src/
Form/ GoogleImageSitemapDeleteForm.php, line 59
Class
- GoogleImageSitemapDeleteForm
- Defines a confirmation form for deleting mymodule data.
Namespace
Drupal\google_image_sitemap\FormCode
public function getCancelText() {
return $this
->t('Nevermind');
}