You are here

function relation_label in Relation 7

Gets a relation's label.

See also

entity_label()

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

File

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

Code

function relation_label($relation) {
  return t('Relation !id', array(
    '!id' => $relation->rid,
  ));
}