You are here

views_limit_grouping.views.inc in Views Grouping Row Limit 7

Same filename and directory in other branches
  1. 6 views_limit_grouping.views.inc

views_limit_grouping.views.inc Just describing our Views style plugin; nothing much to see here.

File

views_limit_grouping.views.inc
View source
<?php

/**
 * @file views_limit_grouping.views.inc
 * Just describing our Views style plugin; nothing much to see here.
 */

/**
 * Implements hook_views_plugins().
 */
function views_limit_grouping_views_plugins() {
  return array(
    'style' => array(
      'grouping_limit' => array(
        'title' => t('Grouping Field (with Limit)'),
        'help' => t('Limit the number of rows for each grouping field'),
        'handler' => 'views_limit_grouping_style_plugin',
        'theme' => 'views_limit_grouping',
        'uses row plugin' => TRUE,
        'uses options' => TRUE,
        'uses grouping' => TRUE,
        'type' => 'normal',
      ),
    ),
  );
}

Functions