You are here

function node_field_theme in Node Field 7.2

Implements hook_theme().

File

./node_field.module, line 128
This module provide ability to add extra fields to any single node.

Code

function node_field_theme() {
  $items = [];
  $items['node_field_field'] = [
    'render element' => 'element',
    'template' => 'theme/tpl/node_field_field',
  ];
  $items['node_field_fields'] = [
    'render element' => 'element',
    'template' => 'theme/tpl/node_field_fields',
  ];
  $items['node_field_node_field_page_form_fields'] = [
    'render element' => 'container',
    'file' => 'theme/node_field.template.inc',
  ];
  $items['node_field_views_node_field'] = [
    'variables' => [
      'node_fields',
    ],
    'file' => 'theme/node_field.theme.inc',
  ];
  return $items;
}