You are here

function weight_views_handlers in Weight 7

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

Implements hook_views_handlers().

File

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

Code

function weight_views_handlers() {
  return array(
    'info' => array(
      'path' => drupal_get_path('module', 'weight'),
    ),
    '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',
      ),
    ),
  );
}