entity-print--commerce-order.tpl.php in Entity Print 7
Same filename and directory in other branches
PDF template for printing.
Available variables are:
- $entity - The entity itself.
- $entity_array - The renderable array of this entity.
- $entity_print_css - An array of stylesheets to be rendered.
File
modules/entity_print_commerce_order/entity-print--commerce-order.tpl.phpView source
<?php
/**
* @file
* PDF template for printing.
*
* Available variables are:
* - $entity - The entity itself.
* - $entity_array - The renderable array of this entity.
* - $entity_print_css - An array of stylesheets to be rendered.
*/
?>
<html>
<head>
<meta charset="UTF-8">
<title>PDF</title>
<?php
print drupal_get_css($entity_print_css);
?>
</head>
<body>
<div class="page">
<?php
print render($entity_array);
?>
</div>
</body>
</html>