function menu_link_weight_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
- ./
menu_link_weight.module, line 129 - Replaces the menu link weight dropdown with a tabledrag widget.
Code
function menu_link_weight_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_node_element_process';
}