You are here

public function XmlSitemapCustomDeleteForm::getConfirmText in XML sitemap 8

Same name and namespace in other branches
  1. 2.x xmlsitemap_custom/src/Form/XmlSitemapCustomDeleteForm.php \Drupal\xmlsitemap_custom\Form\XmlSitemapCustomDeleteForm::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

xmlsitemap_custom/src/Form/XmlSitemapCustomDeleteForm.php, line 77

Class

XmlSitemapCustomDeleteForm
Provides a form for deleting a custom link.

Namespace

Drupal\xmlsitemap_custom\Form

Code

public function getConfirmText() {
  return $this
    ->t('Delete');
}