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.
My initial motivation for this hook it was to remove the #attached js behaviour but I found more uses to it like altering the element depending on the $form_state.
Patch started here: #2343535: make JS hide/show functionality configurable per component
Comment | File | Size | Author |
---|---|---|---|
#6 | 2557833-hook_select_or_other_process_alter-6.patch | 1.49 KB | rodrigoaguilera |
#2 | 2557833-hook_select_or_other_process_alter-2.patch | 1.96 KB | rodrigoaguilera |
Comments
Comment #2
rodrigoaguileraHere's a patch that adds a hook_select_or_other_process_alter the same way that the date module does (eg. http://www.drupalcontrib.org/api/drupal/contributions!date!date.api.php/...)
Fixed also some coding standards.
Comment #3
rodrigoaguileraComment #4
legolasboComment #5
legolasboI tried to apply the patch, but it no longer applies. Needs a reroll
Comment #6
rodrigoaguilerarerolled :)
Comment #7
rodrigoaguileraComment #10
legolasboFailing test is unrelated as far as I can tell. Committed and pushed to 7.x-3.x. Thanks!