You are here

function opigno_tool_action_access in Opigno 7

Check user access for the tool action.

Parameters

array $action:

stdClass $account:

Return value

bool

1 call to opigno_tool_action_access()
opigno_block_view in ./opigno.module
Implements hook_block_view().

File

./opigno.module, line 488
Contains all hook_implementations and module specific API.

Code

function opigno_tool_action_access($action, $account) {
  return call_user_func_array($action['access_callback'], array_merge($action['access_arguments'], array(
    $account,
  )));
}