You are here

views_showcase.views.inc in Views Showcase 6

Same filename and directory in other branches
  1. 6.2 views_showcase.views.inc
  2. 7 views_showcase.views.inc

Provide the views showcase plugin definition.

File

views_showcase.views.inc
View source
<?php

/**
 * @file
 *  Provide the views showcase plugin definition.
 */
function views_showcase_views_plugins() {
  return array(
    'module' => 'views_showcase',
    'style' => array(
      'views_showcase' => array(
        'title' => t('Views Showcase'),
        'theme' => 'views_showcase_view',
        'help' => t('Display a view like a showcase.'),
        'handler' => 'views_showcase_style_plugin',
        'uses row plugin' => TRUE,
        'uses options' => TRUE,
        'type' => 'normal',
      ),
    ),
    'row' => array(
      'showcasefields' => array(
        'title' => t('Views Showcase'),
        'help' => t('Choose the fields to display in Showcase Style.'),
        'handler' => 'views_showcase_plugin_row_showcasefields',
        'theme' => 'views_showcase_view_showcasefields',
        'uses fields' => TRUE,
        'uses options' => TRUE,
        'type' => 'normal',
      ),
    ),
  );
}

Functions

Namesort descending Description
views_showcase_views_plugins @file Provide the views showcase plugin definition.