You are here

views_accordion.views.inc in Views Accordion 6

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

Provide an accordion style plugin for Views. This file is autoloaded by views.

File

views_accordion.views.inc
View source
<?php

/**
 * @file
 * Provide an accordion style plugin for Views. This file is autoloaded by views.
 */

/**
 * Implementation of hook_views_plugin().
 */
function views_accordion_views_plugins() {
  return array(
    'style' => array(
      'views_accordion' => array(
        'title' => t('Views Accordion'),
        'theme' => 'views_view_accordion',
        'help' => t('Display a JQuery accordion with the results. The first field will be used as the header and trigger.'),
        'handler' => 'views_accordion_style_plugin',
        'uses row plugin' => TRUE,
        'uses options' => TRUE,
        'type' => 'normal',
      ),
    ),
  );
}

Functions

Namesort descending Description
views_accordion_views_plugins Implementation of hook_views_plugin().