You are here

function hierarchical_select_config_id_load in Hierarchical Select 6.3

Same name and namespace in other branches
  1. 7.3 hierarchical_select.module \hierarchical_select_config_id_load()

Wildcard loader for Hierarchical Select config ID's.

File

./hierarchical_select.module, line 306
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_config_id_load($config_id) {
  $config = variable_get('hs_config_' . $config_id, FALSE);
  return $config !== FALSE ? $config['config_id'] : FALSE;
}