You are here

function relation_rules_access in Relation 7

Same name and namespace in other branches
  1. 8.2 relation.rules.inc \relation_rules_access()
  2. 8 relation.rules.inc \relation_rules_access()

Access callback for creating a relation.

For now, everyone has permission to trigger the creation of a relation.

1 string reference to 'relation_rules_access'
relation_entity_info in ./relation.module
Implements hook_entity_info().

File

./relation.rules.inc, line 104
Implements the Rules module API for Relation.

Code

function relation_rules_access($op, $entity = NULL, $account = NULL) {
  return TRUE;
}