function relation_rules_create in Relation 8
Same name and namespace in other branches
- 8.2 relation.rules.inc \relation_rules_create()
Callback for creating a relation, in the form Rules wants it.
File
- ./
relation.rules.inc, line 87 - Implements the Rules module API for Relation.
Code
function relation_rules_create($values = array()) {
return relation_create($values['relation_type'], array());
}