You are here

function views_limit_grouping_views_plugins in Views Grouping Row Limit 7

Same name and namespace in other branches
  1. 6 views_limit_grouping.views.inc \views_limit_grouping_views_plugins()

Implements hook_views_plugins().

File

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

Code

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',
      ),
    ),
  );
}