You are here

function flag_access in Flag 6

Same name and namespace in other branches
  1. 5 flag.module \flag_access()

Access checking to check an account for flagging ability.

See documentation for $flag->user_access().

1 call to flag_access()
flag_get_flags in ./flag.module
List all flags available.

File

./flag.module, line 114

Code

function flag_access($flag, $account = NULL) {
  return $flag
    ->user_access($account);
}