Wild idea: why not treat Menu Link Parents via the content system and use an entity reference field? Similar to taxonomy parent table removal at #2543726: Make $term->parent behave like any other entity reference field, to fix REST and Migrate support and de-customize its Views integration given menus were already converted to entities to use fieldability? #916388: Convert menu links into entities
Original idea posted at #2845485: Refactor and document the MenuLinkParent process plugin

Comments

giorgio79 created an issue. See original summary.

berdir’s picture

Status: Active » Closed (works as designed)

Because the parent doesn't have to be an entity.

You can create a menu link below a menu link provided by a .yml file, a view or other things like that. Those aren't content entities.

giorgio79’s picture

Ok, but if we make them entities then we can work within the entity system and we can skip all the custom hocus pocus.