function node_registration_register_page_access in Node registration 7
Access callback for node/%node/register.
1 string reference to 'node_registration_register_page_access'
- node_registration_menu in ./
node_registration.module - Implements hook_menu().
File
- ./
node_registration.module, line 454
Code
function node_registration_register_page_access($node) {
// Has register access.
if (node_registration_node_access($node, 'register')) {
// Register page enabled or admin.
$settings = _node_registration_node_type_settings($node->type);
return user_access('administer node registration') || empty($settings->no_register_page);
}
}