You are here

function vertical_tabs_rename_config in Vertical Tabs 6

1 call to vertical_tabs_rename_config()
vertical_tabs_node_type in ./vertical_tabs.module
Implements hook_node_type().

File

./vertical_tabs.module, line 255
Provides vertical tabs capability for fieldsets in forms.

Code

function vertical_tabs_rename_config($old_form_id, $new_form_id) {
  $config = variable_get('vertical_tabs_forms', array());
  if (isset($config[$form_id])) {
    $config[$new_form_id] = $config[$old_form_id];
    unset($config[$old_form_id]);
    variable_set('vertical_tabs_forms', $config);
  }
}