function workbench_access_is_active_id 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
Boolean TRUE or FALSE.
1 call to workbench_access_is_active_id()
- workbench_access_load_access_info in ./
workbench_access.module - Given an access id and scheme, load the object with its data.
File
- ./
workbench_access.module, line 1407 - Workbench Access module file.
Code
function workbench_access_is_active_id($access_type, $access_type_id) {
$active = workbench_access_get_active_tree();
if (isset($active[$access_type_id]) && $active[$access_type_id]['access_type'] != $access_type) {
return TRUE;
}
return FALSE;
}