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.
In general Field_ui needs to be off in production.
See similar issues for other modules:
Entityform: https://drupal.org/node/2123417
Fieldable Panels Panes: https://drupal.org/node/1724394
Comments
Comment #1
joachim CreditAttribution: joachim commentedI'm pretty sure we need some of Field UI's functions for the views configuration.
Comment #2
joachim CreditAttribution: joachim commentedThe Views handler options needs to get the field UI options:
Arguably, on a production site where you've disabled *_ui modules, you'll have disabled Views UI too, so this you're not going to ever run this bit of code.
But doing this cleanly is going to require some fiddly code -- you're going to need to have a message to users who do get there without Field UI telling them to enable it, and some kind of sane fallback.
Not something I have time to work on, but feel free to reopen if you can provide a patch.