Fix missing menu active trail
1 unresolved thread
1 unresolved thread
Closes #3359511
Merge request reports
Activity
added 123 commits
-
196a56fe...c73225d6 - 122 commits from branch
project:11.x
- 0a5535f5 - Fix missing menu active trail
-
196a56fe...c73225d6 - 122 commits from branch
added 914 commits
-
0a5535f5...77b8e596 - 913 commits from branch
project:11.x
- 221357ca - Fix missing menu active trail
-
0a5535f5...77b8e596 - 913 commits from branch
added 1032 commits
-
f9a873e3...6dd918c9 - 1029 commits from branch
project:11.x
- 49e02684 - Fix missing menu active trail
- 0e0dc52c - Fix lint error
- 7f1e51ef - Remove fallback
Toggle commit list-
f9a873e3...6dd918c9 - 1029 commits from branch
99 * @param \Drupal\Core\Routing\RouteProviderInterface|null $route_provider 100 * The route provider. 90 101 * @param array $options 91 102 * (optional) Any additional database connection options to use in queries. 92 103 */ 93 public function __construct(Connection $connection, CacheBackendInterface $menu_cache_backend, CacheTagsInvalidatorInterface $cache_tags_invalidator, $table, array $options = []) { 104 public function __construct(Connection $connection, CacheBackendInterface $menu_cache_backend, CacheTagsInvalidatorInterface $cache_tags_invalidator, $table, $route_provider = NULL, array $options = []) { 94 105 $this->connection = $connection; 95 106 $this->menuCacheBackend = $menu_cache_backend; 96 107 $this->cacheTagsInvalidator = $cache_tags_invalidator; 108 if (!$route_provider instanceof RouteProviderInterface) { 109 if (is_array($route_provider)) { 110 $options = $route_provider; 111 } 112 $route_provider = \Drupal::service('router.route_provider'); 113 @trigger_error('Calling ' . __METHOD__ . '() without the $route_provider argument is deprecated in drupal:9.5.10 and will be required in drupal:11.0.0. See https://www.drupal.org/node/3364323', E_USER_DEPRECATED); - Resolved by Matthew Radcliffe
Please register or sign in to reply