You are here

public function ArbitraryUrlGenerator::__construct in Simple XML sitemap 8.3

Same name and namespace in other branches
  1. 8.2 src/Plugin/simple_sitemap/UrlGenerator/ArbitraryUrlGenerator.php \Drupal\simple_sitemap\Plugin\simple_sitemap\UrlGenerator\ArbitraryUrlGenerator::__construct()

ArbitraryUrlGenerator constructor.

Parameters

array $configuration:

$plugin_id:

$plugin_definition:

\Drupal\simple_sitemap\Simplesitemap $generator:

\Drupal\simple_sitemap\Logger $logger:

\Drupal\Core\Extension\ModuleHandler $module_handler:

Overrides UrlGeneratorBase::__construct

File

src/Plugin/simple_sitemap/UrlGenerator/ArbitraryUrlGenerator.php, line 33

Class

ArbitraryUrlGenerator
Class ArbitraryUrlGenerator @package Drupal\simple_sitemap\Plugin\simple_sitemap\UrlGenerator

Namespace

Drupal\simple_sitemap\Plugin\simple_sitemap\UrlGenerator

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, Simplesitemap $generator, Logger $logger, ModuleHandler $module_handler) {
  parent::__construct($configuration, $plugin_id, $plugin_definition, $generator, $logger);
  $this->moduleHandler = $module_handler;
}