function vertical_tabs_get_config in Vertical Tabs 6
3 calls to vertical_tabs_get_config()
File
- ./
vertical_tabs.module, line 217 - Provides vertical tabs capability for fieldsets in forms.
Code
function vertical_tabs_get_config($form_id = NULL) {
static $config;
if (!isset($config)) {
$config = array();
$config += variable_get('vertical_tabs_forms', array());
$config += vertical_tabs_get_default_config();
}
if (isset($form_id)) {
return isset($config[$form_id]) ? $config[$form_id] : NULL;
}
else {
return $config;
}
}