public function EntityUrlGenerator::__construct in Simple XML sitemap 8.2
Same name and namespace in other branches
- 8.3 src/Plugin/simple_sitemap/UrlGenerator/EntityUrlGenerator.php \Drupal\simple_sitemap\Plugin\simple_sitemap\UrlGenerator\EntityUrlGenerator::__construct()
- 4.x src/Plugin/simple_sitemap/UrlGenerator/EntityUrlGenerator.php \Drupal\simple_sitemap\Plugin\simple_sitemap\UrlGenerator\EntityUrlGenerator::__construct()
EntityMenuLinkContentUrlGenerator constructor.
Parameters
array $configuration:
string $plugin_id:
mixed $plugin_definition:
\Drupal\simple_sitemap\Simplesitemap $generator:
\Drupal\simple_sitemap\SitemapGenerator $sitemap_generator:
\Drupal\Core\Language\LanguageManagerInterface $language_manager:
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager:
\Drupal\simple_sitemap\Logger $logger:
\Drupal\simple_sitemap\EntityHelper $entityHelper:
\Drupal\simple_sitemap\Plugin\simple_sitemap\UrlGenerator\UrlGeneratorManager $url_generator_manager:
Overrides UrlGeneratorBase::__construct
File
- src/
Plugin/ simple_sitemap/ UrlGenerator/ EntityUrlGenerator.php, line 47
Class
- EntityUrlGenerator
- Class EntityUrlGenerator @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, SitemapGenerator $sitemap_generator, LanguageManagerInterface $language_manager, EntityTypeManagerInterface $entity_type_manager, Logger $logger, EntityHelper $entityHelper, UrlGeneratorManager $url_generator_manager) {
parent::__construct($configuration, $plugin_id, $plugin_definition, $generator, $sitemap_generator, $language_manager, $entity_type_manager, $logger, $entityHelper);
$this->urlGeneratorManager = $url_generator_manager;
}