function merci_field_extra_fields in MERCI (Manage Equipment Reservations, Checkout and Inventory) 7.2
Implementation of hook_content_extra_fields.
File
- ./
merci.module, line 693 - MERCI - Managed Equipment Reservation Checkout and Inventory
Code
function merci_field_extra_fields() {
$extra['node']['merci_reservation'] = array(
'form' => array(
'merci_reservation_status' => array(
'label' => t('MERCI Settings'),
'description' => t('Allows user to select Reservation status.'),
'weight' => 100,
),
'choice_wrapper' => array(
'label' => t('MERCI Choices'),
'description' => t('Child items included in the Reservation.'),
'weight' => 80,
),
),
'display' => array(
'merci_reservation_status' => array(
'label' => t('MERCI Settings'),
'description' => t('Allows user to select Reservation status.'),
'weight' => 100,
),
'choice_wrapper' => array(
'label' => t('MERCI Choices'),
'description' => t('Child items included in the Reservation.'),
'weight' => 80,
),
),
);
return $extra;
}