function merci_node_type in MERCI (Manage Equipment Reservations, Checkout and Inventory) 6.2
Same name and namespace in other branches
- 6 merci.module \merci_node_type()
Implementation of hook_node_type().
4 string references to 'merci_node_type'
- merci_calendar_view_views_default_views in modules/
merci_calendar_view/ merci_calendar_view.views_default.inc - Implements hook_views_default_views().
- merci_inventory_views_default_views in modules/
merci_inventory/ merci_inventory.views_default.inc - Implements hook_views_default_views().
- merci_node_type_save_submit in includes/
api.inc - Submit handler for saving MERCI node type data.
- merci_views_default_views in ./
merci.views_default.inc - Implements hook_views_default_views().
File
- ./
merci.module, line 139 - MERCI - Managed Equipment Reservation Checkout and Inventory
Code
function merci_node_type($op, $info) {
switch ($op) {
case 'update':
if (isset($info->old_type) && $info->type != $info->old_type) {
merci_node_type_update($info);
}
break;
case 'delete':
merci_node_type_delete($info);
break;
}
}