You are here

public static function FormHelper::getDonationText in Simple XML sitemap 8.3

Same name and namespace in other branches
  1. 4.x src/Form/FormHelper.php \Drupal\simple_sitemap\Form\FormHelper::getDonationText()

Return value

string

8 calls to FormHelper::getDonationText()
SearchEngineListBuilder::render in modules/simple_sitemap_engines/src/Controller/SearchEngineListBuilder.php
Build the render array.
SimplesitemapCustomLinksForm::buildForm in src/Form/SimplesitemapCustomLinksForm.php
Form constructor.
SimplesitemapEnginesForm::buildForm in modules/simple_sitemap_engines/src/Form/SimplesitemapEnginesForm.php
Form constructor.
SimplesitemapEntitiesForm::buildForm in src/Form/SimplesitemapEntitiesForm.php
Form constructor.
SimplesitemapSettingsForm::buildForm in src/Form/SimplesitemapSettingsForm.php
Form constructor.

... See full list

File

src/Form/FormHelper.php, line 608

Class

FormHelper
Class FormHelper @package Drupal\simple_sitemap\Form

Namespace

Drupal\simple_sitemap\Form

Code

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