function merci_inventory_node_info in MERCI (Manage Equipment Reservations, Checkout and Inventory) 7.2
Same name and namespace in other branches
- 6.2 modules/merci_inventory/merci_inventory.module \merci_inventory_node_info()
Implementation of hook_node_info().
File
- modules/
merci_inventory/ merci_inventory.module, line 26 - Hooks and functions for MERCI Inventory
Code
function merci_inventory_node_info() {
return array(
// Inventory nodes.
'merci_inventory' => array(
'name' => t('Inventory'),
'module' => 'merci_inventory',
'base' => 'node_content',
'has_body' => TRUE,
'description' => t("An Inventory node contains a simple list of other nodes."),
'locked' => TRUE,
),
// Inventory Master nodes.
'merci_inventory_master' => array(
'name' => t('Inventory Master'),
'base' => 'node_content',
'module' => 'merci_inventory',
'has_body' => FALSE,
'description' => t("Add additional CCK fields to the Inventory Master content type to synchronize to other MERCI managed content types."),
'locked' => TRUE,
),
);
}