You are here

function weight_views_handlers in Weight 6

Same name and namespace in other branches
  1. 7 weight.views.inc \weight_views_handlers()

Implementation of hook_views_handlers().

File

views/weight.views.inc, line 91
Views2 support for Weight module.

Code

function weight_views_handlers() {
  return array(
    'info' => array(
      'path' => drupal_get_path('module', 'weight') . '/views',
    ),
    'handlers' => array(
      'weight_handler_field_sticky' => array(
        'parent' => 'views_handler_field_numeric',
      ),
      'weight_handler_sort' => array(
        'parent' => 'views_handler_sort',
      ),
      'weight_handler_filter_sticky' => array(
        'parent' => 'views_handler_filter_boolean_operator',
      ),
      'weight_handler_filter_weight' => array(
        'parent' => 'views_handler_filter_numeric',
      ),
    ),
  );
}