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

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

rodrigoaguilera created an issue. See original summary.

rodrigoaguilera’s picture

Title: Add new hook » Add new hook_select_or_other_process_alter
Issue summary: View changes
FileSize
1.96 KB

Here'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.

rodrigoaguilera’s picture

Status: Active » Needs review
legolasbo’s picture

Issue tags: -Add new hook hook_select_or_other_process_alter +Quick fix
legolasbo’s picture

Component: Forms API (Developers) » Field widget (non-specific or listed)
Status: Needs review » Needs work
Issue tags: +Novice, +Needs reroll

I tried to apply the patch, but it no longer applies. Needs a reroll

rodrigoaguilera’s picture

rodrigoaguilera’s picture

Status: Needs work » Needs review

Status: Needs review » Needs work

The last submitted patch, 6: 2557833-hook_select_or_other_process_alter-6.patch, failed testing.

legolasbo’s picture

Status: Needs work » Fixed

Failing test is unrelated as far as I can tell. Committed and pushed to 7.x-3.x. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.