You are here

function theme_noderelationships_erd_group in Node Relationships 6

Render a group of entities in the ERD.

1 theme call to theme_noderelationships_erd_group()
noderelationships_erd_diagram in ./noderelationships.admin.inc
Build the Entity Relationship Diagram (ERD).

File

./noderelationships.admin.inc, line 153
Implementation of the administration pages of the module.

Code

function theme_noderelationships_erd_group($group_type, $entities) {
  $output = '<div class="noderelationships-erd-group noderelationships-erd-' . $group_type . '">';
  foreach ($entities as $entity) {
    $output .= theme('noderelationships_erd_entity', $entity['label'], $entity['items']);
  }
  $output .= '</div>' . "\n";
  return $output;
}