You are here

function _hierarchical_select_special_item_none in Hierarchical Select 6.3

Same name and namespace in other branches
  1. 7.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_process in ./hierarchical_select.module
Hierarchical select form element type #process callback.
_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.

File

./hierarchical_select.module, line 2314
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);
}