function vertical_tabs_form_pre_render in Vertical Tabs 6
Form pre-render callback; add vertical tabs to the form.
3 string references to 'vertical_tabs_form_pre_render'
- vertical_tabs_form_alter in ./
vertical_tabs.module - Implements hook_form_alter().
- vertical_tabs_form_configure in ./
vertical_tabs.module - vertical_tabs_remove_vertical_tabs in ./
vertical_tabs.module - Remove vertical tabs elements and processing from a form.
File
- ./
vertical_tabs.module, line 297 - Provides vertical tabs capability for fieldsets in forms.
Code
function vertical_tabs_form_pre_render($form) {
if (!isset($form['#vertical_tabs']) || !is_array($form['#vertical_tabs'])) {
$form['#vertical_tabs'] = array();
}
vertical_tabs_add_vertical_tabs($form, $form['#vertical_tabs']);
return $form;
}