You are here

relationship.tpl.php in CRM Core 8.3

Theme implementation for relation entity.

Available variables:

  • $content: An array of comment items. Use render($content) to print them all, or print a subset such as render($content['field_example']). Use hide($content['field_example']) to temporarily suppress the printing of a given element.

See also

template_preprocess()

template_preprocess_entity()

template_process()

File

modules/crm_core_relationship/templates/relationship.tpl.php
View source
<?php

/**
 * @file
 * Theme implementation for relation entity.
 *
 * Available variables:
 * - $content: An array of comment items. Use render($content) to print them
 *   all, or print a subset such as render($content['field_example']). Use
 *   hide($content['field_example']) to temporarily suppress the printing of a
 *   given element.
 *
 * @see template_preprocess()
 * @see template_preprocess_entity()
 * @see template_process()
 */
?>
<div class="<?php

print $classes;
?> clearfix"<?php

print $attributes;
?>>
  <div class="content"<?php

print $content_attributes;
?>>
    <?php

print render($content);
?>
  </div>
</div>