You are here

function hs_taxonomy_hierarchical_select_params in Hierarchical Select 7.3

Same name and namespace in other branches
  1. 5.3 modules/hs_taxonomy.module \hs_taxonomy_hierarchical_select_params()
  2. 6.3 modules/hs_taxonomy.module \hs_taxonomy_hierarchical_select_params()

Implementation of hook_hierarchical_select_params().

File

modules/hs_taxonomy.module, line 599
Implementation of the Hierarchical Select API for the Taxonomy module.

Code

function hs_taxonomy_hierarchical_select_params() {
  $params = array(
    'vid',
    'exclude_tid',
    // Allows a term to be excluded (necessary for the taxonomy_form_term form).
    'root_term',
    // Displays a fake "<root>" term in the root level (necessary for the
    // taxonomy_form-term form).
    'entity_count_for_node_type',
    // Restrict the entity count to a specific node type.
    'allowed_max_depth',
  );
  return $params;
}