field_validation_ui should depend on field_ui

Created on 6 November 2018, about 6 years ago
Updated 24 June 2023, over 1 year ago

field_validation_ui adds menu items to the pages created by the Field UI module. Currently it adds them even when Field UI is disabled, leading to useless entries in the menu_router table that, in some cases, lead to notices.

field_validation_ui_menu() uses %field_ui_menu, which requires the field_ui_menu_load() function that is only available when the field_ui module is enabled.

As such, I think it is safe to add field_ui as a dependency of field_validation_ui.

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇳🇱Netherlands Jorrit

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

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