You are here

function block_access_can_config in Block Access 6.2

Same name and namespace in other branches
  1. 6 block_access.module \block_access_can_config()
  2. 7 block_access.module \block_access_can_config()
2 calls to block_access_can_config()
block_access_check_config in ./block_access.module
block_access_check_perms in ./block_access.module

File

./block_access.module, line 180

Code

function block_access_can_config($module, $delta) {
  return user_access(BLOCK_ACCESS_ALL_CONFIG) || user_access(BLOCK_ACCESS_ALL_CONFIG_LANG) || user_access(BLOCK_ACCESS_ALL_CONFIG_SPEC) || user_access(BLOCK_ACCESS_ALL_CONFIG_USER) || user_access(BLOCK_ACCESS_ALL_CONFIG_ROLE) || user_access(BLOCK_ACCESS_ALL_CONFIG_PAGE) || block_access_user_access($module, $delta, 'config') || block_access_user_access($module, $delta, 'config_lang') || block_access_user_access($module, $delta, 'config_spec') || block_access_user_access($module, $delta, 'config_user') || block_access_user_access($module, $delta, 'config_role') || block_access_user_access($module, $delta, 'config_page');
}