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.
I can't see 'field_ui' a hard dependency for the asset module.
I can see however that two hooks implements field_ui definition, but these are a pre-requisite for asset module to work correctly or is more a tool to help an administrator or a programmer to configure its field instance? Because in this case, when exporting settings in features or by code, on production website, the field_ui module would not be required at all.
Comment | File | Size | Author |
---|---|---|---|
#1 | asset-disable-dependency-field-ui-2099491-1.patch | 271 bytes | sergeypavlenko |
Comments
Comment #1
sergeypavlenko CreditAttribution: sergeypavlenko commentedHi
I think dependency "field_ui" is not required and we can remove it from .info file. On my project need disable "field_ui" for site optimization. In code module asset, have only two function related with "field_ui":
We can remove dependency and asset should work fine!
Comment #2
sergeypavlenko CreditAttribution: sergeypavlenko commentedComment #3
Sylvain Lecoy CreditAttribution: Sylvain Lecoy commentedWorks for me
Comment #5
IRuslan CreditAttribution: IRuslan as a volunteer and at DrupalJedi commentedNice catch, pushed to dev.
Comment #6
IRuslan CreditAttribution: IRuslan as a volunteer and at DrupalJedi commented