You are here

function field_group_theme in Field Group 8.3

Same name and namespace in other branches
  1. 8 field_group.module \field_group_theme()
  2. 7.2 field_group.module \field_group_theme()
  3. 7 field_group.module \field_group_theme()

Implements hook_theme().

File

./field_group.module, line 88
Allows administrators to attach field groups.

Code

function field_group_theme() {
  return [
    'horizontal_tabs' => [
      'render element' => 'element',
      'template' => 'horizontal-tabs',
      'file' => 'templates/theme.inc',
    ],
    'field_group_accordion_item' => [
      'render element' => 'element',
      'template' => 'field-group-accordion-item',
      'file' => 'templates/theme.inc',
    ],
    'field_group_accordion' => [
      'render element' => 'element',
      'template' => 'field-group-accordion',
      'file' => 'templates/theme.inc',
    ],
    'field_group_html_element' => [
      'render element' => 'element',
      'template' => 'field-group-html-element',
      'file' => 'templates/theme.inc',
    ],
  ];
}