Late Form Alter

justindodge - June 24, 2009 - 20:19
Late Form Alter

Provides a new Drupal hook: hook_late_form_alter.

This hook is identical to Drupal's hook_form_alter in every way except that it should always be called after every other module's hook_form_alter is called. Also provides hook_late_form_(form_id)_alter. This is accomplished using weighting in the system table.

This will give developers a chance to alter form data after every other module has performed their own alterations.

See http://api.drupal.org/api/function/hook_form_alter/6 for documentation for Drupal's hook_form_alter.

See also:
Early Form Alter
http://drupal.org/project/early_form_alter

Releases

Official releasesDateSizeLinksStatus
6.x-1.02009-Jun-246.55 KBRecommended for 6.xThis is currently the recommended release for 6.x.


 
 

Drupal is a registered trademark of Dries Buytaert.