Add parameters to control starting point and depth for fetch

Created on 18 December 2020, almost 4 years ago
Updated 14 February 2024, 9 months ago

Problem/Motivation

Contextual menus are great. If you could set the starting point, and the depth, to the Simplify Menus fetch, the module output could allow for page contextual menus

Steps to reproduce

Try to get levels 2, 3, and 4 only. You can't.

Proposed resolution

Update the module to add functionality.

  • The starting level in the menu (e.g. the 3rd level)
  • The number of levels to descend (e.g. “2” to load the first level and the second level, with “1” being the default),
  • Whether to load the parent menu item as a “title” link.

Remaining tasks

Create patch and submit to module for consideration.

User interface changes

Only if a desire to add an admin page exists.

API changes

None

Data model changes

None

Feature request
Status

Needs review

Version

3.1

Component

Code

Created by

🇺🇸United States tregonia

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

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024