You are here

function rules_comment_integration_access in Rules 7.2

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
Rules integration for the comment module.

Code

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