You are here

function pminvoice_field_extra_fields in Drupal PM (Project Management) 7

Implements hook_field_extra_fields().

File

pminvoice/pminvoice.module, line 127
1: Hooks (help, perm, init, menu, theme, node_info) 2: Access functions 3: Load organization and project details 4: Invoice create / edit form 5: Invoice node manipulation functions 6: Admin settings 7: Views hook 8: Project Managementinvoiceitem…

Code

function pminvoice_field_extra_fields() {
  $extra['node']['pminvoice'] = array(
    'form' => array(
      'group1' => array(
        'label' => 'Number',
        'weight' => -19,
      ),
      'group2' => array(
        'label' => 'Organization/Project/Reference Group',
        'weight' => -18,
      ),
      'group4' => array(
        'label' => 'Invoice Items',
        'weight' => -14,
      ),
      'group5' => array(
        'label' => 'Price Group',
        'weight' => -13,
      ),
    ),
  );
  return $extra;
}