You are here

function hook_bean_access in Bean (for Drupal 7) 7

Implements hook_bean_access().

Access callback for beans

Parameters

$bean: Tthe fully loaded bean object

$bean: 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_bean_access()
bean_access in ./bean.module
Determines whether the given user has access to a bean.

File

./bean.api.php, line 59

Code

function hook_bean_access($bean, $op, $account) {
  return TRUE;
}