function boxes_access_admin in Boxes 6
Same name and namespace in other branches
- 7 boxes.module \boxes_access_admin()
Access check for whether current user should be able to administer boxes.
4 calls to boxes_access_admin()
- boxes_add_js in ./
boxes.module - Add JavaScript to the page.
- boxes_block in ./
boxes.module - Implementation of hook_block().
- boxes_footer in ./
boxes.module - Implementation of hook_footer().
- boxes_spaces_dashboard_block_access_alter in ./
boxes.module - Implementation of hook_spaces_dashboard_block_access_alter().
File
- ./
boxes.module, line 36
Code
function boxes_access_admin() {
return user_access('administer blocks') || module_exists('spaces') && spaces_access_admin();
}