You are here

function hook_boxes_access in Boxes 7.2

Implements hook_boxes_access().

Access callback for boxes

Parameters

$box: Tthe fully loaded Box object

$op: The access type of view, edit, delete, create

$account: The user account

Return value

boolean True if access is allowed, FALSE if not.

1 invocation of hook_boxes_access()
boxes_access in ./boxes.module
Determines whether the given user has access to a boxes.

File

./boxes.api.php, line 55

Code

function hook_boxes_access($box, $op, $account) {
  return TRUE;
}