You are here

function flag_page_access in Flag 7.3

Menu access callback for flagging pages.

Same parameters as flag_page().

See also

flag_page()

flag_confirm()

1 string reference to 'flag_page_access'
flag_menu in ./flag.module
Implements hook_menu().

File

./flag.module, line 348
The Flag module.

Code

function flag_page_access($action, $flag, $entity_id) {
  $access = $flag
    ->access($entity_id, $action);
  return $access;
}