You are here

public function UrlGeneratorBase::__construct in Simple XML sitemap 4.x

Same name and namespace in other branches
  1. 8.3 src/Plugin/simple_sitemap/UrlGenerator/UrlGeneratorBase.php \Drupal\simple_sitemap\Plugin\simple_sitemap\UrlGenerator\UrlGeneratorBase::__construct()
  2. 8.2 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\Logger $logger:

\Drupal\simple_sitemap\Settings $settings:

Overrides PluginBase::__construct

1 call to UrlGeneratorBase::__construct()
EntityUrlGeneratorBase::__construct in src/Plugin/simple_sitemap/UrlGenerator/EntityUrlGeneratorBase.php
EntityUrlGeneratorBase constructor.
1 method overrides UrlGeneratorBase::__construct()
EntityUrlGeneratorBase::__construct in src/Plugin/simple_sitemap/UrlGenerator/EntityUrlGeneratorBase.php
EntityUrlGeneratorBase constructor.

File

src/Plugin/simple_sitemap/UrlGenerator/UrlGeneratorBase.php, line 41

Class

UrlGeneratorBase
Class UrlGeneratorBase

Namespace

Drupal\simple_sitemap\Plugin\simple_sitemap\UrlGenerator

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, Logger $logger, Settings $settings) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->logger = $logger;
  $this->settings = $settings;
}