Preprocess menu: check array keys

Created on 16 February 2024, 9 months ago
Updated 1 March 2024, 9 months ago

Problem/Motivation

When testing the new experimental admin navigation with Gin and Gin toolbar. I got a lot of PHP warnings due to 'in_active_trail' and 'below' keys not set in menu items in the preprocess.

Adding checks for that.

🐛 Bug report
Status

Fixed

Version

5.0

Component

Code

Created by

🇫🇷France Grimreaper France 🇫🇷

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