Show all menus on /admin/structure/menus

Created on 12 March 2024, 10 months ago

Problem/Motivation

The list at /admin/structure/menus is built by the menu_ui core module and shows only a certain number of menus per page of the list. These pages are created before the menu_admin_per_menu module determines which menu(s) the current user has access to edit. If there are more menus on the site than can be displayed in a single page of the list, the current user may see only a handful of menus on the first page, with a pager displayed below them to more pages of menus they can edit. This could be confusing to the user, especially if the first page does not contain any menus they can edit, in which case it will appear blank.

Proposed resolution

Override the MenuListBuilder class and set the parameter so that all menus are displayed on a single page. This is based on a patch for a similar project πŸ› Consider a paginated list of menus in the ui Active .

✨ Feature request
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States i.mcbride

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

Comments & Activities

Production build 0.71.5 2024