You are here

function biblio_node_form_vtabs in Bibliography Module 7

2 calls to biblio_node_form_vtabs()
biblio_admin_types_edit_form in includes/biblio.admin.inc
Form constructor for the Publication type edit form.
biblio_form in ./biblio.module
Implements hook_form().

File

./biblio.module, line 1460
Bibliography Module for Drupal.

Code

function biblio_node_form_vtabs() {
  $vtabs = biblio_node_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;
}