relationship.tpl.php in CRM Core 8
Theme implementation for relation entity.
Available variables:
1 theme call to relationship.tpl.php
- crm_core_relationship_view_relationship in modules/
crm_core_relationship/ crm_core_relationship.module - Page callback to override relation view page.
File
modules/crm_core_relationship/templates/relationship.tpl.phpView 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>