public static function UIkitViews::getThemeHooks in UIkit Components 8
Same name and namespace in other branches
- 8.3 uikit_views/src/UIkitViews.php \Drupal\uikit_views\UIkitViews::getThemeHooks()
- 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 18
Class
- UIkitViews
- Class UIkitViews
Namespace
Drupal\uikit_viewsCode
public static function getThemeHooks() {
$hooks['uikit_view_grid'] = [
'preprocess functions' => [
'template_preprocess_uikit_view_grid',
'template_preprocess_views_view_grid',
],
'file' => 'includes/uikit_views.theme.inc',
];
$hooks['uikit_view_list'] = [
'preprocess functions' => [
'template_preprocess_uikit_view_list',
'template_preprocess_views_view_list',
],
'file' => 'includes/uikit_views.theme.inc',
];
$hooks['uikit_view_table'] = [
'preprocess functions' => [
'template_preprocess_uikit_view_table',
'template_preprocess_views_view_table',
],
'file' => 'includes/uikit_views.theme.inc',
];
return $hooks;
}