Patched the menu.active_trail service and added a test
Closes #1578832
Merge request reports
Activity
added 1 commit
- 773c649d - Attempt to fix a test error caused by the drupalGet() path
- Resolved by Lee Rowlands
- Resolved by David Cameron
- Resolved by David Cameron
- Resolved by David Cameron
- Resolved by David Cameron
added 88 commits
-
76aecb76...38d18a4f - 85 commits from branch
project:11.x
- ec1671ff - Temporarily reverted .phpstan-baseline.php change
- 23ca16a9 - Merge branch '11.x' into 1578832-front-active-trail-D11
- 8ccf2c1d - Regenerated core/.phpstan-baseline.php
Toggle commit list-
76aecb76...38d18a4f - 85 commits from branch
added 2 commits
40 41 * The cache backend. 41 42 * @param \Drupal\Core\Lock\LockBackendInterface $lock 42 43 * The lock backend. 44 * @param \Drupal\Core\Path\PathMatcherService $pathMatcher 45 * The path.matcher service. 43 46 */ 44 public function __construct(MenuLinkManagerInterface $menu_link_manager, RouteMatchInterface $route_match, CacheBackendInterface $cache, LockBackendInterface $lock) { 47 public function __construct(MenuLinkManagerInterface $menu_link_manager, RouteMatchInterface $route_match, CacheBackendInterface $cache, LockBackendInterface $lock, protected PathMatcherInterface $pathMatcher) { 45 48 parent::__construct(NULL, $cache, $lock); 46 49 $this->menuLinkManager = $menu_link_manager; changed this line in version 16 of the diff
40 41 * The cache backend. 41 42 * @param \Drupal\Core\Lock\LockBackendInterface $lock 42 43 * The lock backend. 44 * @param \Drupal\Core\Path\PathMatcherService $pathMatcher 45 * The path.matcher service. 43 46 */ 44 public function __construct(MenuLinkManagerInterface $menu_link_manager, RouteMatchInterface $route_match, CacheBackendInterface $cache, LockBackendInterface $lock) { 47 public function __construct(MenuLinkManagerInterface $menu_link_manager, RouteMatchInterface $route_match, CacheBackendInterface $cache, LockBackendInterface $lock, protected PathMatcherInterface $pathMatcher) { 47 public function __construct(MenuLinkManagerInterface $menu_link_manager, RouteMatchInterface $route_match, CacheBackendInterface $cache, LockBackendInterface $lock, protected PathMatcherInterface $pathMatcher) { 47 public function __construct(protected MenuLinkManagerInterface $menuLinkManager, protected RouteMatchInterface $routeMatch, CacheBackendInterface $cache, LockBackendInterface $lock, protected PathMatcherInterface $pathMatcher) { changed this line in version 14 of the diff
Please register or sign in to reply