You are here

public static function UIkitViews::getThemeHooks in UIkit Components 8.3

Same name and namespace in other branches
  1. 8 uikit_views/src/UIkitViews.php \Drupal\uikit_views\UIkitViews::getThemeHooks()
  2. 8.2 uikit_views/src/UIkitViews.php \Drupal\uikit_views\UIkitViews::getThemeHooks()

Returns the theme hook definition information for UIkit Views.

1 call to UIkitViews::getThemeHooks()
uikit_views_theme in uikit_views/uikit_views.module
Implements hook_theme().

File

uikit_views/src/UIkitViews.php, line 16

Class

UIkitViews
Class UIkitViews

Namespace

Drupal\uikit_views

Code

public static function getThemeHooks() {
  $hooks['uikit_view_accordion'] = [
    'preprocess functions' => [
      'template_preprocess_uikit_view_accordion',
    ],
    'file' => 'includes/uikit_views.theme.inc',
  ];
  $hooks['uikit_view_grid'] = [
    'preprocess functions' => [
      'template_preprocess_uikit_view_grid',
    ],
    'file' => 'includes/uikit_views.theme.inc',
  ];
  $hooks['uikit_view_list'] = [
    'preprocess functions' => [
      'template_preprocess_uikit_view_list',
    ],
    'file' => 'includes/uikit_views.theme.inc',
  ];
  $hooks['uikit_view_slider'] = [
    'preprocess functions' => [
      'template_preprocess_uikit_view_slider',
    ],
    'file' => 'includes/uikit_views.theme.inc',
  ];
  $hooks['uikit_view_slideshow'] = [
    'preprocess functions' => [
      'template_preprocess_uikit_view_slideshow',
    ],
    'file' => 'includes/uikit_views.theme.inc',
  ];
  $hooks['uikit_view_switcher'] = [
    'preprocess functions' => [
      'template_preprocess_uikit_view_switcher',
    ],
    'file' => 'includes/uikit_views.theme.inc',
  ];
  $hooks['uikit_view_table'] = [
    'preprocess functions' => [
      'template_preprocess_views_view_table',
      'template_preprocess_uikit_view_table',
    ],
    'file' => 'includes/uikit_views.theme.inc',
  ];
  return $hooks;
}