public function XmlSitemapDeleteForm::getConfirmText in XML sitemap 8
Same name and namespace in other branches
- 2.x src/Form/XmlSitemapDeleteForm.php \Drupal\xmlsitemap\Form\XmlSitemapDeleteForm::getConfirmText()
Returns a caption for the button that confirms the action.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.
Overrides EntityConfirmFormBase::getConfirmText
File
- src/
Form/ XmlSitemapDeleteForm.php, line 31
Class
- XmlSitemapDeleteForm
- Builds the form to delete a sitemap.
Namespace
Drupal\xmlsitemap\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}