Commit 1d8af8fe authored by gbyte.co's avatar gbyte.co

Issue #3097353 by dagomar,gbyte.co: EntityMenuLinkContentUrlGenerator should...

Issue #3097353 by dagomar,gbyte.co: EntityMenuLinkContentUrlGenerator should use MenuLinkTreeInterface
parent 37b565fd
......@@ -9,7 +9,7 @@ use Drupal\Core\Language\LanguageManagerInterface;
use Drupal\Core\Entity\EntityTypeManagerInterface;
use Drupal\Core\Menu\MenuTreeParameters;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Drupal\Core\Menu\MenuLinkTree;
use Drupal\Core\Menu\MenuLinkTreeInterface;
use Drupal\Core\Menu\MenuLinkBase;
/**
......@@ -44,7 +44,7 @@ class EntityMenuLinkContentUrlGenerator extends EntityUrlGeneratorBase {
* @param \Drupal\Core\Language\LanguageManagerInterface $language_manager
* @param \Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager
* @param \Drupal\simple_sitemap\EntityHelper $entityHelper
* @param \Drupal\Core\Menu\MenuLinkTree $menu_link_tree
* @param \Drupal\Core\Menu\MenuLinkTreeInterface $menu_link_tree
*/
public function __construct(
array $configuration,
......@@ -55,7 +55,7 @@ class EntityMenuLinkContentUrlGenerator extends EntityUrlGeneratorBase {
LanguageManagerInterface $language_manager,
EntityTypeManagerInterface $entity_type_manager,
EntityHelper $entityHelper,
MenuLinkTree $menu_link_tree
MenuLinkTreeInterface $menu_link_tree
) {
parent::__construct(
$configuration,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment