You are here

function relation_uri in Relation 7

Gets a relation's URI.

See also

entity_uri()

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

File

./relation.module, line 752
Describes relations between entities.

Code

function relation_uri($relation) {
  return array(
    'path' => 'relation/' . $relation->rid,
  );
}