You are here

function rules_node_integration_access in Rules 7.2

Node integration access callback.

Related topics

3 string references to 'rules_node_integration_access'
RulesNodeConditionBase::defaults in modules/node.eval.inc
rules_node_event_info in modules/node.rules.inc
Implements hook_rules_event_info() on behalf of the node module.
rules_test_rules_action_info in tests/rules_test.rules.inc
Implements hook_rules_action_info().

File

modules/node.rules.inc, line 132
Rules integration for the node module.

Code

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