domain_content_menu_check

Versions
domain
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().

Code

domain_content/domain_content.module, line 105

<?php
function domain_content_menu_check() {
  if (user_access('administer nodes')) {
    return TRUE;
  }
  if (user_access('edit domain nodes') || user_access('review content for all domains')) {
    return TRUE;
  }
  return FALSE;
}
?>

Contact

  • agentrickard [at] gmail [dot] com

Donations

My Amazon.com Wish List