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.
Probably would be better to remove "Media browser" widget from settings of image fields.
Reasons:
- It causes unnecessary dependency on media module.
- If needed the widget can be changed to "Media browser" widget by user anytime.
Comments
Comment #1
dabbor CreditAttribution: dabbor commentedAttaching patch.
Removed the "Media browser" widget from default settings of image field.
Comment #2
dabbor CreditAttribution: dabbor commentedComment #4
dabbor CreditAttribution: dabbor commentedAttaching a new patch.
Set the file schema settings to all image fields.
Not sure why the patch before couldn't be applied. Tested locally again and all worked.
Comment #6
dabbor CreditAttribution: dabbor commentedThe patch contained some modifications to entity_background_image.info and entity_background_parallax.info. I removed them to test if they are causing the problem with applying the patch.
Comment #8
dabbor CreditAttribution: dabbor commentedRemoved the allowed_schemes settings from the patch.
Applied patch locally + run all tests and all was OK (not sure why the drupal test bot reports problem).
Comment #10
dabbor CreditAttribution: dabbor commentedFixed inconsistent patch markup after manual update.
Comment #13
Ivan Zugec CreditAttribution: Ivan Zugec commentedThanks @dabbor.