function nr_owners_nr_settings_page_access in Node registration 7
Access callback for node/%node/node_registration/settings.
1 string reference to 'nr_owners_nr_settings_page_access'
- nr_owners_menu_alter in submodules/
nr_owners/ nr_owners.module - Implements hook_menu_alter().
File
- submodules/
nr_owners/ nr_owners.module, line 15
Code
function nr_owners_nr_settings_page_access($node) {
// Has settings access.
if (node_registration_node_access($node, 'registration settings')) {
// Settings page enabled or admin.
$settings = _node_registration_node_type_settings($node->type);
return user_access('administer node registration') || empty($settings->extra_nr_owners_no_settings_tab);
}
}