Skip to content

Commit

Permalink
Support for 10.2 core
Browse files Browse the repository at this point in the history
  • Loading branch information
ericras authored Feb 16, 2024
1 parent 7dc63e0 commit df86b93
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/UnlBreadcrumbBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
use Drupal\Core\Entity\EntityInterface;
use Drupal\Core\Entity\EntityTypeManagerInterface;
use Drupal\Core\Link;
use Drupal\Core\Menu\MenuActiveTrail;
use Drupal\Core\Menu\MenuActiveTrailInterface;
use Drupal\Core\Path\CurrentPathStack;
use Drupal\Core\Path\PathMatcherInterface;
use Drupal\Core\PathProcessor\InboundPathProcessorInterface;
Expand Down Expand Up @@ -161,12 +161,12 @@ class UnlBreadcrumbBuilder extends PathBasedBreadcrumbBuilder {
* The request stack that controls the lifecycle of requests.
* @param \Drupal\Core\Routing\AdminContext $admin_context
* A helper class to determine whether the route is an admin one.
* @param \Drupal\Core\Menu\MenuActiveTrail $menu_active_trail
* Provides the default implementation of the active menu trail service.
* @param \Drupal\Core\Menu\MenuActiveTrailInterface $menu_active_trail
* The active menu trail service.
* @param \Drupal\Core\Routing\CurrentRouteMatch $route_match
* The route match service.
*/
public function __construct(RequestContext $context, AccessManagerInterface $access_manager, RequestMatcherInterface $router, InboundPathProcessorInterface $path_processor, ConfigFactoryInterface $config_factory, TitleResolverInterface $title_resolver, AccountInterface $current_user, CurrentPathStack $current_path, PathMatcherInterface $path_matcher = NULL, EntityTypeManagerInterface $entity_type_manager, RequestStack $request_stack, AdminContext $admin_context, MenuActiveTrail $menu_active_trail, CurrentRouteMatch $route_match) {
public function __construct(RequestContext $context, AccessManagerInterface $access_manager, RequestMatcherInterface $router, InboundPathProcessorInterface $path_processor, ConfigFactoryInterface $config_factory, TitleResolverInterface $title_resolver, AccountInterface $current_user, CurrentPathStack $current_path, PathMatcherInterface $path_matcher = NULL, EntityTypeManagerInterface $entity_type_manager, RequestStack $request_stack, AdminContext $admin_context, MenuActiveTrailInterface $menu_active_trail, CurrentRouteMatch $route_match) {
parent::__construct($context, $access_manager, $router, $path_processor, $config_factory, $title_resolver, $current_user, $current_path, $path_matcher);
$this->entityTypeManager = $entity_type_manager;
$this->requestStack = $request_stack;
Expand Down

0 comments on commit df86b93

Please sign in to comment.