1
|
<?php
|
2
|
/**
|
3
|
* @file
|
4
|
* Contains core functions for the Views module support.
|
5
|
*/
|
6
|
|
7
|
/*
|
8
|
* Implements hook_views_plugins().
|
9
|
*
|
10
|
* This function annnounces the style plugin for flexslider views.
|
11
|
*/
|
12
|
function flexslider_views_views_plugins() {
|
13
|
return array(
|
14
|
'style' => array(
|
15
|
// Style plugin for the FlexSlider.
|
16
|
'flexslider' => array(
|
17
|
'title' => t('FlexSlider'),
|
18
|
'help' => t('Display the results in a FlexSlider widget.'),
|
19
|
'handler' => 'flexslider_views_plugin_style_flexslider',
|
20
|
'theme' => 'flexslider_views',
|
21
|
'theme file' => 'flexslider_views.theme.inc',
|
22
|
'theme path' => drupal_get_path('module', 'flexslider_views') . '/theme',
|
23
|
'uses row plugin' => TRUE,
|
24
|
'uses fields' => TRUE,
|
25
|
'uses options' => TRUE,
|
26
|
'type' => 'normal',
|
27
|
'even empty' => FALSE,
|
28
|
),
|
29
|
),
|
30
|
);
|
31
|
}
|