function menu_link_weight_test_element_info_alter in Menu Link Weight 7
Implements hook_element_info_alter().
See also
https://drupal.stackexchange.com/questions/49216/how-to-add-a-process-ca...
File
- tests/
menu_link_weight_test.module, line 13 - Support module for the Menu Link Weight Simpletests.
Code
function menu_link_weight_test_element_info_alter(&$types) {
// Set the Menu link weight process function all fieldsets, but check
// within the process function whether we are editing a Menu Link Weight
// element.
$types['fieldset']['#process'][] = 'menu_link_weight_test_element_process';
}