Skip to content
Snippets Groups Projects

Fix missing menu active trail

1 unresolved thread

Closes #3359511

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
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);
  • added 1 commit

    • 1daf601b - Fixes code standard regression in test

    Compare with previous version

  • added 1 commit

    Compare with previous version

  • added 13 commits

    Compare with previous version

  • Please register or sign in to reply
    Loading