function _hs_process_shortcut_special_items in Hierarchical Select 7.3
1 call to _hs_process_shortcut_special_items()
File
- ./
hierarchical_select.module, line 380 - 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 _hs_process_shortcut_special_items($config) {
$special_items = array();
if (isset($config['special_items'])) {
$special_items['exclusive'] = array_keys(array_filter($config['special_items'], '_hierarchical_select_special_item_exclusive'));
$special_items['none'] = array_keys(array_filter($config['special_items'], '_hierarchical_select_special_item_none'));
}
return $special_items;
}