You are here

function relation_multiple_view in Relation 7

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

File

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

Code

function relation_multiple_view($relations, $view_mode) {
  $build = array();
  foreach ($relations as $relation) {
    $build['relation'][$relation->rid] = relation_view($relation, $view_mode);
  }
  return $build;
}