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 understand that it's not within the scope of ds_forms to allow for multiple form modes for a bundle, would it be up for consideration to provide a hook, perhaps within ds_forms_preprocess_ds_forms_custom_form
so that $layout
can be altered before passing it to ds_forms_render_region
?
Comments
Comment #2
chrisrockwell CreditAttribution: chrisrockwell commentedI see now that moving within an alter hook is no trivial task. In my specific use case I only need to move one group, so with a patched
drupal_alter
I can use:Managing complicated context moves could be a bear. Anyway, if the maintainers would consider this feature I'll put together a proper patch that includes a ds_forms.api.inc file.
Comment #3
aspilicious CreditAttribution: aspilicious commentedI'm not adding any new features to D7.