You are here

function _hs_new_setting_ajax in Hierarchical Select 7.3

1 call to _hs_new_setting_ajax()
hierarchical_select_ajax in ./hierarchical_select.module
Ajax callback to render the select form elements.

File

./hierarchical_select.module, line 450
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 _hs_new_setting_ajax($hsid = FALSE, $settings = NULL) {
  static $hs_settings = array();
  if ($hsid !== FALSE) {
    $hs_settings[] = array(
      'hsid' => $hsid,
      'settings' => $settings,
    );
  }
  return $hs_settings;
}