function _hierarchical_select_special_item_none in Hierarchical Select 7.3
Same name and namespace in other branches
- 6.3 hierarchical_select.module \_hierarchical_select_special_item_none()
Helper function needed for the array_filter() call to filter the items marked with the 'none' property
Parameters
$item: An item in the 'special_items' setting.
Return value
TRUE if it's marked with the 'none' property, FALSE otherwise.
3 string references to '_hierarchical_select_special_item_none'
- _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 2376 - 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_none($item) {
return in_array('none', $item);
}