You are here

protected function SimplesitemapFormBase::getDonationText in Simple XML sitemap 8.2

3 calls to SimplesitemapFormBase::getDonationText()
SimplesitemapCustomLinksForm::buildForm in src/Form/SimplesitemapCustomLinksForm.php
Form constructor.
SimplesitemapEntitiesForm::buildForm in src/Form/SimplesitemapEntitiesForm.php
Form constructor.
SimplesitemapSettingsForm::buildForm in src/Form/SimplesitemapSettingsForm.php
Form constructor.

File

src/Form/SimplesitemapFormBase.php, line 88

Class

SimplesitemapFormBase
Class SimplesitemapFormBase @package Drupal\simple_sitemap\Form

Namespace

Drupal\simple_sitemap\Form

Code

protected function getDonationText() {
  return '<div class="description">' . $this
    ->t('If you would like to say thanks and support the development of this module, a <a target="_blank" href="@url">donation</a> is always appreciated.', [
    '@url' => 'https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=5AFYRSBLGSC3W',
  ]) . '</div>';
}