You are here

function alpha_pagination_views_data in Views Alpha Pagination 7.2

Same name and namespace in other branches
  1. 8.2 alpha_pagination.views.inc \alpha_pagination_views_data()
  2. 7 views/alpha_pagination.views.inc \alpha_pagination_views_data()

Implements hook_views_data().

File

./alpha_pagination.module, line 282
Module hooks and alters for the Views Alpha Pagination module.

Code

function alpha_pagination_views_data() {
  $data = [];
  $data['views']['alpha_pagination'] = [
    'title' => t('Alpha Pagination'),
    'group' => 'Global',
    'area' => [
      'help' => t('Adds alphanumeric pagination.'),
      'handler' => 'views_handler_area_alpha_pagination',
    ],
  ];
  $data['views']['alpha_pagination_group'] = [
    'title' => t('Alpha Pagination'),
    'group' => 'Global',
    'field' => [
      'help' => t('Adds an automated field that can be used to group by the alphanumeric pagination prefix.'),
      'handler' => 'views_handler_field_alpha_pagination_group',
    ],
  ];
  return $data;
}