You are here

flexslider_views.views.inc in Flex Slider 7.2

Same filename and directory in other branches
  1. 7 flexslider_views/flexslider_views.views.inc

Contains core functions for the Views module support.

File

flexslider_views/flexslider_views.views.inc
View source
<?php

/**
 * @file
 * Contains core functions for the Views module support.
 */

/*
 * Implements hook_views_plugins().
 *
 * This function annnounces the style plugin for flexslider views.
 */
function flexslider_views_views_plugins() {
  return array(
    'style' => array(
      // Style plugin for the FlexSlider.
      'flexslider' => array(
        'title' => t('FlexSlider'),
        'help' => t('Display the results in a FlexSlider widget.'),
        'handler' => 'flexslider_views_plugin_style_flexslider',
        'theme' => 'flexslider_views',
        'theme file' => 'flexslider_views.theme.inc',
        'theme path' => drupal_get_path('module', 'flexslider_views') . '/theme',
        'uses row plugin' => TRUE,
        'uses fields' => TRUE,
        'uses options' => TRUE,
        'type' => 'normal',
        'even empty' => FALSE,
      ),
    ),
  );
}

Functions