function hierarchical_select_form_alter in Hierarchical Select 6.3
Same name and namespace in other branches
- 5.3 hierarchical_select.module \hierarchical_select_form_alter()
- 5 hierarchical_select.module \hierarchical_select_form_alter()
- 5.2 hierarchical_select.module \hierarchical_select_form_alter()
Implementation of hook_form_alter().
File
- ./
hierarchical_select.module, line 93 - This module defines the "hierarchical_select" form element, which is a greatly enhanced way for letting the user select items in a hierarchy.
Code
function hierarchical_select_form_alter(&$form, $form_state, $form_id) {
if (_hierarchical_select_form_has_hierarchical_select($form)) {
$form['#after_build'][] = 'hierarchical_select_after_build';
}
}