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