generator = $generator; $this->formHelper = $form_helper; $this->entityHelper = $entity_helper; $this->pathValidator = $path_validator; } /** * {@inheritdoc} */ public static function create(ContainerInterface $container) { return new static( $container->get('simple_sitemap.generator'), $container->get('simple_sitemap.form_helper'), $container->get('simple_sitemap.entity_helper'), $container->get('path.validator') ); } /** * {@inheritdoc} */ protected function getEditableConfigNames() { return ['simple_sitemap.settings']; } /** * */ protected function getDonationText() { return "
" . $this->t("If you would like to say thanks and support the development of this module, a donation is always appreciated.", ['@url' => 'https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=5AFYRSBLGSC3W']) . "
"; } }