You are here

function hook_flag_access_multiple in Flag 7.2

Same name and namespace in other branches
  1. 6.2 flag.api.php \hook_flag_access_multiple()
  2. 7.3 flag.api.php \hook_flag_access_multiple()

Allow modules to allow or deny access to flagging.

Parameters

$flag: The flag object.

$content_ids: An array of object ids to check access.

$account: The user on whose behalf to test the flagging action.

Return value

An array whose keys are the object IDs and values are booleans indicating access.

See also

hook_flag_access()

flag_flag:access_multiple()

1 function implements hook_flag_access_multiple()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

flag_flag_access_multiple in ./flag.module
Implements hook_flag_access_multiple().
1 invocation of hook_flag_access_multiple()
flag_flag::access_multiple in ./flag.inc
Determine access to multiple objects.

File

./flag.api.php, line 141
Hooks provided by the Flag module.

Code

function hook_flag_access_multiple($flag, $content_ids, $account) {
}