You are here

function _hierarchical_select_special_item_exclusive in Hierarchical Select 6.3

Same name and namespace in other branches
  1. 7.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_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 2301
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);
}