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.
How to reproduce:
1. Create new asset type with some field or use any existing.
2. Create form_alter hook in your custom module for update form settings.
3. Paste asset in CKeditor and click "Edit" link for overriding setting.
4. Alter hooks will not implemented, because "override form" is constructed as new form ("assets_wysiwyg_form" instead of "asset_edit_ASSET_BUNDLE_form")
Comment | File | Size | Author |
---|---|---|---|
#1 | asset--asset_override_form_altering-2173179-1.patch | 704 bytes | Ser_Mir |
Comments
Comment #1
Ser_Mir CreditAttribution: Ser_Mir commentedComment #2
Ser_Mir CreditAttribution: Ser_Mir commentedCheck my patch, please. Works fine for me
Comment #3
IRuslan CreditAttribution: IRuslan as a volunteer and at DrupalJedi commentedGood catch, pushed to dev.
It's pretty ugly implemented forms and in general they should be redone in future.