function rules_taxonomy_vocabulary_integration_access

Taxonomy vocabulary integration access callback.

Related topics

1 string reference to 'rules_taxonomy_vocabulary_integration_access'
rules_taxonomy_event_info in modules/taxonomy.rules.inc
Implements hook_rules_event_info().

File

modules/taxonomy.rules.inc, line 125

Code

function rules_taxonomy_vocabulary_integration_access($type, $name) {
    if ($type == 'event' || $type == 'condition') {
        return entity_access('view', 'taxonomy_vocabulary');
    }
}