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.
Hi.
Can you accept a patch to allow hook before paragraphs widget form prebuild?
It could be useful to allow another modules to hook before the widget is created.
Use case: paragraphs defaults module needs add paragraph but now it's not working with nested paragraphs, if it could add values before widget prebuiild it would works.
Comment | File | Size | Author |
---|---|---|---|
#2 | paragraphs-prebuild-hook-2896378-2-D7.patch | 1.35 KB | omarlopesino |
|
Comments
Comment #2
omarlopesinoAttaching patch. It adds prebuild function in paragraphs_field_multiple_value_form , and a drupal alter.
Please review, thanks!
Comment #3
miro_dietikerDouble-wrap it through a stub method, while still needing to pass all those things in looks like double dip.