You are here

function domain_content_menu_check in Domain Access 7.3

Same name and namespace in other branches
  1. 6.2 domain_content/domain_content.module \domain_content_menu_check()
  2. 7.2 domain_content/domain_content.module \domain_content_menu_check()

Access control for menu items. There may be another way to do this in Drupal 6.

Parameters

$check: The access check value passed from hook_menu().

1 string reference to 'domain_content_menu_check'
domain_content_menu in domain_content/domain_content.module
Implements hook_menu()

File

domain_content/domain_content.module, line 108
Editorial overview module.

Code

function domain_content_menu_check() {
  if (user_access('access the domain content page') || user_access('review content for all domains')) {
    return TRUE;
  }
  return FALSE;
}