You are here

function vertical_tabs_get_default_config in Vertical Tabs 6

Get the default supported forms.

1 call to vertical_tabs_get_default_config()
vertical_tabs_get_config in ./vertical_tabs.module

File

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

Code

function vertical_tabs_get_default_config() {
  $forms = array();
  $node_types = array_keys(node_get_types('names'));
  foreach ($node_types as $node_type) {
    $forms[$node_type . '_node_form'] = TRUE;
  }
  $forms['node_type_form'] = TRUE;
  $forms['block_admin_configure'] = TRUE;
  $forms['block_add_block_form'] = TRUE;
  return $forms;
}