You are here

function merci_printable_contract_content_access in MERCI (Manage Equipment Reservations, Checkout and Inventory) 8.2

Same name and namespace in other branches
  1. 6.2 modules/merci_printable_contract/merci_printable_contract.module \merci_printable_contract_content_access()
  2. 7.3 merci_printable_contract/merci_printable_contract.module \merci_printable_contract_content_access()
  3. 7.2 modules/merci_printable_contract/merci_printable_contract.module \merci_printable_contract_content_access()

@todo Please document this function.

See also

http://drupal.org/node/1354

1 string reference to 'merci_printable_contract_content_access'
merci_printable_contract_menu in modules/merci_printable_contract/merci_printable_contract.module
Implements hook_menu().

File

modules/merci_printable_contract/merci_printable_contract.module, line 48
merci_printable_contract functions

Code

function merci_printable_contract_content_access($node, $perm) {
  return user_access($perm) and $node->type == 'merci_reservation';
}