You are here

function a11y_paragraphs_tabs_theme in A11Y Paragraphs Tabs 8

Implements hook_theme().

Call the base hook from Paragraphs to allow preprocess hooks to work.

File

./a11y_paragraphs_tabs.module, line 13
Module for creating the A11Y Paragraphs Tabs paragraph component.

Code

function a11y_paragraphs_tabs_theme() {
  return [
    'paragraph__a11y_paragraphs_tabs_wrapper' => [
      'render element' => 'element',
      'template' => 'paragraph--a11y-paragraphs-tabs-wrapper',
      'base hook' => 'paragraph',
    ],
    'field__field_a11y_para_tabs_tabs_panel' => [
      'render element' => 'content',
      'template' => 'field--field-a11y-para-tabs-tabs-panel',
      'base hook' => 'field',
    ],
  ];
}