Issue #3381929: Resolve differences between SystemController::overview and systemAdminMenuBlockPage
Compare changes
Conflict: This file was modified in both the source and target branches.
Ask someone with write access to resolve it.
@@ -55,8 +55,23 @@ public function __construct(
@@ -65,7 +80,7 @@ public function access(RouteMatchInterface $route_match, AccountInterface $accou
@@ -87,7 +102,10 @@ protected function hasAccessToChildMenuItems(MenuLinkInterface $link, AccountInt
We had this fallback in https://www.drupal.org/project/drupal/issues/296693 but removed it because it was not neccessary because
\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage
does not take any parameters. But now\Drupal\system\Controller\SystemController::overview
does have the@para $link_id
and routeHas
link_id
default which means the menu itemDoes not provide the default, hence we need this fallback