Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Admin menu was recently updated with the issue #2084217: Make field_ui_admin_menu_map() actually work for all entity types. The Field UI mapping is now included by default and does not have to be added in the Reply hook_admin_menu_map()
.
Currently this results in a notice:
Proposed resolution
Remove the mapping of fields from hook_admin_menu_map()
Remaining tasks
- Write a patch
- Review
User interface changes
None
API changes
None
Comment | File | Size | Author |
---|---|---|---|
#1 | 2407127-1-after.png | 119.78 KB | idebr |
#1 | reply-admin_menu_field_mapping_notice-2407127-1.patch | 1.02 KB | idebr |
admin_menu_strtr_notice.png | 107.63 KB | idebr |
Comments
Comment #1
idebr CreditAttribution: idebr commentedAttached patch removes the duplicate Field mapping from hook_admin_menu_map().
Screenshot after:
Comment #2
larowlanThanks