You are here

function workbench_access_load in Workbench Access 7

Return information for an access id.

Parameters

$access_type: The scheme type.

$access_type_id: The access type id.

Return value

Information for the access id.

4 calls to workbench_access_load()
workbench_access_role_form in ./workbench_access.admin.inc
Generate a role overview form for a section.
workbench_access_workbench_block in ./workbench_access.module
Implements hook_block_view_workbench_block_alter().
_workbench_access_get_node_section_names in ./workbench_access.tokens.inc
Fetch an array of a node's access sections for use with tokens.
_workbench_access_get_user_section_names in ./workbench_access.tokens.inc
Fetch an array of a user's access sections for use with tokens.

File

./workbench_access.module, line 1387
Workbench Access module file.

Code

function workbench_access_load($access_type, $access_type_id) {
  workbench_access_load_include($access_type);
  $scheme = array(
    'access_type' => $access_type,
    'access_id' => $access_type_id,
  );
  return workbench_access_load_access_info($scheme);
}