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

Created on 17 April 2024, about 1 month ago
Updated 18 May 2024, 5 days 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 31 minutes 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.69.0 2024