You are here

function menu_block_access in Menu Block 7.2

Same name and namespace in other branches
  1. 7.3 menu_block.module \menu_block_access()

Determine whether the user has permission to use menu_block module.

2 string references to 'menu_block_access'
menu_block_export_menu in ./menu_block_export.module
Implements hook_menu().
menu_block_menu in ./menu_block.module
Implements hook_menu().

File

./menu_block.module, line 84
Provides configurable blocks of menu items.

Code

function menu_block_access($account = NULL) {
  return user_access('administer blocks', $account) && user_access('administer menu', $account);
}