You are here

function biblio_form_vtabs in Bibliography Module 7.2

Creates the vertical tab form structure as used in the add/edit form

Return value

array

1 call to biblio_form_vtabs()
biblio_form in ./biblio.module
Displays the Add/Edit form for a biblio entity

File

./biblio.module, line 1308

Code

function biblio_form_vtabs() {
  $vtabs = biblio_form_vtab_info();
  foreach ($vtabs as $tab) {
    $form[$tab['tab_id']] = array(
      '#type' => 'fieldset',
      '#group' => 'biblio_tabs',
      '#collapsible' => TRUE,
      '#collapsed' => FALSE,
      '#title' => t($tab['title']),
      '#description' => '',
      '#weight' => $tab['weight'],
    );
  }
  return $form;
}