You are here

function field_collection_theme in Field collection 8

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

Implements hook_theme to define field_collection templates

File

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

Code

function field_collection_theme() {
  return [
    'field_collection_item' => [
      'render element' => 'item',
    ],
  ];
}