navigation_theme() loads 'extension.list.module' for no purpose.

Created on 17 April 2024, 7 months ago
Updated 18 May 2024, 6 months ago

Problem/Motivation

path is no longer used at all in template. makes large service call in bad spot!

Steps to reproduce

see FN navigation_theme() in navigation.module

  $items['menu_region__footer'] = [
    'variables' => [
      'help' => NULL,
      'items' => [],
      'title' => NULL,
      'menu_name' => NULL,
      'path' => \Drupal::service('extension.list.module')->getPath('navigation'),
    ],
  ];

Proposed resolution

remove legacy var

Remaining tasks

User interface changes

none

API changes

none

Data model changes

none

🐛 Bug report
Status

Fixed

Version

10.3

Component
Navigation 

Last updated 1 day ago

No maintainer
Created by

🇨🇦Canada SKAUGHT

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024