You are here

function text_with_title_theme in Text with Title Field 8

Implements hook_theme().

File

./text_with_title.module, line 11
Main module file for text_with_title field.

Code

function text_with_title_theme($existing, $type, $theme, $path) {
  return [
    'text_with_title_accordion' => [
      'variables' => [
        'panels' => [],
        'id' => NULL,
      ],
      'template' => 'text-with-title-accordion',
    ],
    'text_with_title_tabs' => [
      'variables' => [
        'tabs' => [],
      ],
      'template' => 'text-with-title-tabs',
    ],
    'text_with_title_tabs_horizontal' => [
      'variables' => [
        'tabs' => [],
      ],
      'template' => 'text-with-title-tabs-horizontal',
    ],
    'text_with_title_tabs_vertical' => [
      'variables' => [
        'tabs' => [],
        'tabs_width' => [],
      ],
      'template' => 'text-with-title-tabs-vertical',
    ],
    'text_with_title_panel' => [
      'variables' => [
        'attributes' => [],
        'body' => [],
        'body_attributes' => [],
        'collapsible' => FALSE,
        'collapsed' => FALSE,
        'description' => NULL,
        'description_display' => 'before',
        'footer' => NULL,
        'footer_attributes' => [],
        'heading' => NULL,
        'heading_attributes' => [],
        'id' => NULL,
        'panel_type' => 'default',
        'target' => NULL,
      ],
      'template' => 'text-with-title-panel',
    ],
  ];
}