function rules_organigrams_item_integration_access in Organigrams 7
Organigrams item integration access callback.
Parameters
string $type: Contains an action type.
Return value
bool TRUE if access allowed, otherwise FALSE.
1 string reference to 'rules_organigrams_item_integration_access'
- organigrams_rules_event_info in ./
organigrams.rules.inc - Implements hook_rules_event_info().
File
- ./
organigrams.rules.inc, line 142 - Rules integration for the organigrams module.
Code
function rules_organigrams_item_integration_access($type) {
if ($type == 'event' || $type == 'condition') {
return entity_access('view', 'organigrams_item');
}
}