You are here

public static function ViewsBootstrap::getThemeHooks in Views Bootstrap 8.3

Same name and namespace in other branches
  1. 8.4 src/ViewsBootstrap.php \Drupal\views_bootstrap\ViewsBootstrap::getThemeHooks()

Returns the theme hook definition information.

1 call to ViewsBootstrap::getThemeHooks()
views_bootstrap_theme in ./views_bootstrap.module

File

src/ViewsBootstrap.php, line 20

Class

ViewsBootstrap
The primary class for the Views Bootstrap module.

Namespace

Drupal\views_bootstrap

Code

public static function getThemeHooks() {
  $hooks['views_bootstrap_accordion'] = [
    'preprocess functions' => [
      'template_preprocess_views_bootstrap_accordion',
    ],
    'file' => 'views_bootstrap.theme.inc',
  ];
  $hooks['views_bootstrap_carousel'] = [
    'preprocess functions' => [
      'template_preprocess_views_bootstrap_carousel',
    ],
    'file' => 'views_bootstrap.theme.inc',
  ];
  $hooks['views_bootstrap_cards'] = [
    'preprocess functions' => [
      'template_preprocess_views_bootstrap_cards',
      'template_preprocess_views_view_cards',
    ],
  ];
  $hooks['views_bootstrap_grid'] = [
    'preprocess functions' => [
      'template_preprocess_views_bootstrap_grid',
      'template_preprocess_views_view_grid',
    ],
    'file' => 'views_bootstrap.theme.inc',
  ];
  $hooks['views_bootstrap_list_group'] = [
    'preprocess functions' => [
      'template_preprocess_views_bootstrap_list_group',
    ],
    'file' => 'views_bootstrap.theme.inc',
  ];
  $hooks['views_bootstrap_media_object'] = [
    'preprocess functions' => [
      'template_preprocess_views_bootstrap_media_object',
    ],
    'file' => 'views_bootstrap.theme.inc',
  ];
  $hooks['views_bootstrap_panel'] = [
    'preprocess functions' => [
      'template_preprocess_views_bootstrap_panel',
    ],
    'file' => 'views_bootstrap.theme.inc',
  ];
  $hooks['views_bootstrap_tab'] = [
    'preprocess functions' => [
      'template_preprocess_views_bootstrap_tab',
    ],
    'file' => 'views_bootstrap.theme.inc',
  ];
  $hooks['views_bootstrap_table'] = [
    'preprocess functions' => [
      'template_preprocess_views_bootstrap_table',
      'template_preprocess_views_view_table',
    ],
    'file' => 'views_bootstrap.theme.inc',
  ];
  $hooks['views_bootstrap_dropdown'] = [
    'preprocess functions' => [
      'template_preprocess_views_bootstrap_dropdown',
    ],
    'file' => 'views_bootstrap.theme.inc',
  ];
  $hooks['views_bootstrap_thumbnail'] = [
    'preprocess functions' => [
      'template_preprocess_views_bootstrap_grid',
      'template_preprocess_views_view_grid',
    ],
    'file' => 'views_bootstrap.theme.inc',
  ];
  return $hooks;
}