You are here

function field_collection_theme in Field collection 7

Same name and namespace in other branches
  1. 8.3 field_collection.module \field_collection_theme()
  2. 8 field_collection.module \field_collection_theme()

Implements hook_theme().

File

./field_collection.module, line 409
Module implementing field collection field type.

Code

function field_collection_theme() {
  return array(
    'field_collection_item' => array(
      'render element' => 'elements',
      'template' => 'field-collection-item',
    ),
    'field_collection_view' => array(
      'render element' => 'element',
    ),
  );
}