function rules_comment_integration_access

Comment integration access callback.

Related topics

1 string reference to 'rules_comment_integration_access'
rules_comment_event_info in modules/comment.rules.inc
Implements hook_rules_event_info().

File

modules/comment.rules.inc, line 77

Code

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