function _hierarchical_select_special_item_exclusive in Hierarchical Select 7.3
Same name and namespace in other branches
- 6.3 hierarchical_select.module \_hierarchical_select_special_item_exclusive()
Helper function needed for the array_filter() call to filter the items marked with the 'exclusive' property
Parameters
$item: An item in the 'special_items' setting.
Return value
TRUE if it's marked with the 'exclusive' property, FALSE otherwise.
3 string references to '_hierarchical_select_special_item_exclusive'
- _hierarchical_select_apply_entity_settings in ./
hierarchical_select.module - Given a level, apply the entity_count and require_entity settings.
- _hierarchical_select_hierarchy_generate in ./
hierarchical_select.module - Generate the hierarchy object.
- _hs_process_shortcut_special_items in ./
hierarchical_select.module
File
- ./
hierarchical_select.module, line 2363 - 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_special_item_exclusive($item) {
return in_array('exclusive', $item);
}