Projet

Général

Profil

Paste
Télécharger (1,27 ko) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / modules / field_collection / field-collection-item.tpl.php @ 5e632cae

1
<?php
2

    
3
/**
4
 * @file
5
 * Default theme implementation for field collection items.
6
 *
7
 * Available variables:
8
 * - $content: An array of comment items. Use render($content) to print them
9
 *   all, or print a subset such as render($content['field_example']). Use
10
 *   hide($content['field_example']) to temporarily suppress the printing of a
11
 *   given element.
12
 * - $title: The (sanitized) field collection item label.
13
 * - $url: Direct url of the current entity if specified.
14
 * - $page: Flag for the full page state.
15
 * - $classes: String of classes that can be used to style contextually through
16
 *   CSS. It can be manipulated through the variable $classes_array from
17
 *   preprocess functions. By default the following classes are available, where
18
 *   the parts enclosed by {} are replaced by the appropriate values:
19
 *   - entity-field-collection-item
20
 *   - field-collection-item-{field_name}
21
 *
22
 * Other variables:
23
 * - $classes_array: Array of html class attribute values. It is flattened
24
 *   into a string within the variable $classes.
25
 *
26
 * @see template_preprocess()
27
 * @see template_preprocess_entity()
28
 * @see template_process()
29
 */
30
?>
31
<div <?php print $attributes; ?>>
32
  <div class="content"<?php print $content_attributes; ?>>
33
    <?php
34
      print render($content);
35
    ?>
36
  </div>
37
</div>