Problem/Motivation

Create a Drupal 8 version of Menu Item Fields.

Proposed resolution

Since Menu Item's are content entities in Drupal 8, it should be somewhat trivial to make menu links fieldable in Drupal 8.

Remaining tasks

  1. Open 8.x branch
  2. Rewrite module for Drupal 8

Comments

davidwbarratt created an issue. See original summary.

hkirsman’s picture

+1

davidwbarratt’s picture

Perhaps this is a valid alternative?
https://www.drupal.org/project/colossal_menu

leon kessler’s picture

There's also an approach here http://drupal.stackexchange.com/a/220463 which describes how to add fields to menu items (although it doesn't expose menu items to the field UI).

leon kessler’s picture

@davidwbarratt would be interested to know a bit more about the limitations of the core menu system (that led to the creation of colossal_menu).
I.e. what more do you need to do than just add fields to menu items?

davidwbarratt’s picture

Easier to add fields and expose the menu with REST (https://www.drupal.org/project/rest_menu_tree), plus the core menu link items do not have bundles, so having multiple link types solved our use case.

davidwbarratt’s picture

Honestly I wasn't sure what was going to be more difficult, modify the core menu system (with a module like this one) or just build a new menu system. The latter appeared to be less problematic.

voleger’s picture

Take a look at
https://www.drupal.org/project/menu_item_extras
This module extends core menu_link_content entity. It allows using fields as fields in nodes.

wim leers’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.