function contextual_range_filter_views_plugins in Views Contextual Range Filter 7
Implements hook_views_plugins().
Defines the Numeric Range contextual filter validator.
File
- views/
contextual_range_filter.views.inc, line 52 - contextual_range_filter_views.inc
Code
function contextual_range_filter_views_plugins() {
$plugins = array(
'argument validator' => array(
'numeric range' => array(
'title' => t('Numeric or Numeric Range'),
'handler' => 'contextual_range_filter_plugin_argument_validate_numeric_range',
),
'string range' => array(
'title' => t('Safe Text or Safe Text Range'),
'handler' => 'contextual_range_filter_plugin_argument_validate_string_range',
),
),
);
return $plugins;
}