function httpbl_views_handlers in http:BL 7
Same name and namespace in other branches
- 6.2 views/httpbl.views.inc \httpbl_views_handlers()
Implementation of hook_views_handlers().
File
- views/
httpbl.views.inc, line 108 - Views exposure of http:BL for Drupal. Provides easy monitoring of IPs greylisted or blacklisted through http:BL and linking to honeypot to review why these IPs have been blocked.
Code
function httpbl_views_handlers() {
return array(
'info' => array(
'path' => drupal_get_path('module', 'httpbl') . '/includes/views/handlers',
),
'handlers' => array(
// argument handlers
'httpbl_handler_argument' => array(
'parent' => 'views_handler_argument',
),
'httpbl_handler_argument_string' => array(
'parent' => 'views_handler_argument_string',
),
'httpbl_handler_argument_numeric' => array(
'parent' => 'views_handler_argument_numeric',
),
'httpbl_handler_argument_reference' => array(
'parent' => 'httpbl_handler_argument_numeric',
),
'httpbl_handler_argument_many_to_one' => array(
'parent' => 'views_handler_argument_many_to_one',
),
// field handlers
'httpbl_handler_field' => array(
'parent' => 'views_handler_field_node',
),
'httpbl_handler_field_multiple' => array(
'parent' => 'httpbl_handler_field',
),
// filter handlers
'httpbl_handler_filter_string' => array(
'parent' => 'views_handler_filter_string',
),
'httpbl_handler_filter_numeric' => array(
'parent' => 'views_handler_filter_numeric',
),
'httpbl_handler_filter_float' => array(
'parent' => 'views_handler_filter_float',
),
'httpbl_handler_filter_many_to_one' => array(
'parent' => 'views_handler_filter_many_to_one',
),
// relationship handlers
'httpbl_handler_relationship' => array(
'parent' => 'views_handler_relationship',
),
// sort handlers
'httpbl_handler_sort' => array(
'parent' => 'views_handler_sort',
),
),
);
}