You are here

function hierarchical_select_common_config_set in Hierarchical Select 5.3

Same name and namespace in other branches
  1. 6.3 includes/common.inc \hierarchical_select_common_config_set()
  2. 7.3 includes/common.inc \hierarchical_select_common_config_set()

Set a config.

Parameters

$config_id: A config id.

$config: The config to store.

2 calls to hierarchical_select_common_config_set()
hierarchical_select_admin_import_submit in ./hierarchical_select.admin.inc
Submit callback; config import form.
hierarchical_select_common_config_form_submit in includes/common.inc
Submit callback for the hierarchical_select_common_config_form form.

File

includes/common.inc, line 31
Functions used by more than one Hierarchical Select implementation.

Code

function hierarchical_select_common_config_set($config_id, $config) {
  variable_set('hs_config_' . $config_id, $config);
}