function boxes_access_edit in Boxes 7
Access check for whether current user is able to edit boxes.
4 calls to boxes_access_edit()
- boxes_add_js in ./
boxes.module - Add JavaScript to the page.
- boxes_block_view in ./
boxes.module - Implements hook_block_view().
- boxes_footer in ./
boxes.module - Implements hook_footer().
- theme_boxes_box in ./
boxes.admin.inc - Theme function for the form.
File
- ./
boxes.module, line 53 - Core functionality for boxes module.
Code
function boxes_access_edit() {
return user_access('administer boxes') || user_access('edit boxes');
}