When creating a menu, a menu link is created without specifying the menu name.
The menu_link_save() function sets the "Navigation menu" as default if a menu name is not passed to the item to be saved.
The d8cache module implements menu_link_alter() and it looks for an index menu_name in the menu item. menu_link_save() sets the default menu name after the alteration, so a warning is raised.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | d8cache-menu_name_not_set-3038626-2.patch | 580 bytes | peximo |
Comments
Comment #2
peximo commentedAttached patch should fix the warning.
Comment #3
fabianx commentedRTBC - nice work
Comment #4
i-trokhanenkoPatch # 2 does not solve the issue, I get the same warning.