You are here

function block_access_can_config in Block Access 7

Same name and namespace in other branches
  1. 6.2 block_access.module \block_access_can_config()
  2. 6 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 297

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_TITLE) || user_access(BLOCK_ACCESS_ALL_CONFIG_DESC) || user_access(BLOCK_ACCESS_ALL_CONFIG_BODY) || user_access(BLOCK_ACCESS_ALL_CONFIG_REGION) || user_access(BLOCK_ACCESS_ALL_CONFIG_TYPE) || 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_title') || block_access_user_access($module, $delta, 'config_desc') || block_access_user_access($module, $delta, 'config_body') || block_access_user_access($module, $delta, 'config_region') || block_access_user_access($module, $delta, 'config_type_visibility') || block_access_user_access($module, $delta, 'config_user_visibility') || block_access_user_access($module, $delta, 'config_role_visibility') || block_access_user_access($module, $delta, 'config_page_visibility');
}