public function UrlGeneratorBase::__construct in Simple XML sitemap 8.3
Same name and namespace in other branches
- 8.2 src/Plugin/simple_sitemap/UrlGenerator/UrlGeneratorBase.php \Drupal\simple_sitemap\Plugin\simple_sitemap\UrlGenerator\UrlGeneratorBase::__construct()
- 4.x src/Plugin/simple_sitemap/UrlGenerator/UrlGeneratorBase.php \Drupal\simple_sitemap\Plugin\simple_sitemap\UrlGenerator\UrlGeneratorBase::__construct()
UrlGeneratorBase constructor.
Parameters
array $configuration:
$plugin_id:
$plugin_definition:
\Drupal\simple_sitemap\Simplesitemap $generator:
\Drupal\simple_sitemap\Logger $logger:
Overrides SimplesitemapPluginBase::__construct
2 calls to UrlGeneratorBase::__construct()
- ArbitraryUrlGenerator::__construct in src/
Plugin/ simple_sitemap/ UrlGenerator/ ArbitraryUrlGenerator.php - ArbitraryUrlGenerator constructor.
- EntityUrlGeneratorBase::__construct in src/
Plugin/ simple_sitemap/ UrlGenerator/ EntityUrlGeneratorBase.php - UrlGeneratorBase constructor.
2 methods override UrlGeneratorBase::__construct()
- ArbitraryUrlGenerator::__construct in src/
Plugin/ simple_sitemap/ UrlGenerator/ ArbitraryUrlGenerator.php - ArbitraryUrlGenerator constructor.
- EntityUrlGeneratorBase::__construct in src/
Plugin/ simple_sitemap/ UrlGenerator/ EntityUrlGeneratorBase.php - UrlGeneratorBase constructor.
File
- src/
Plugin/ simple_sitemap/ UrlGenerator/ UrlGeneratorBase.php, line 44
Class
- UrlGeneratorBase
- Class UrlGeneratorBase @package Drupal\simple_sitemap\Plugin\simple_sitemap\UrlGenerator
Namespace
Drupal\simple_sitemap\Plugin\simple_sitemap\UrlGeneratorCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, Simplesitemap $generator, Logger $logger) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->generator = $generator;
$this->logger = $logger;
}