function hierarchical_select_form_alter in Hierarchical Select 5.3
Same name and namespace in other branches
- 5 hierarchical_select.module \hierarchical_select_form_alter()
- 5.2 hierarchical_select.module \hierarchical_select_form_alter()
- 6.3 hierarchical_select.module \hierarchical_select_form_alter()
Implementation of hook_form_alter().
File
- ./
hierarchical_select.module, line 95 - 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_id, &$form) {
if (_hierarchical_select_form_has_hierarchical_select($form)) {
$form['#after_build'][] = 'hierarchical_select_after_build';
}
}