global_filter.views.inc in Views Global Filter 6
Same filename and directory in other branches
Defines the Global Filter default argument plugin.
File
views/global_filter.views.incView source
<?php
/**
* @file
* Defines the Global Filter default argument plugin.
*/
/**
* Implements hook_views_plugins().
*/
function global_filter_views_plugins() {
$path = drupal_get_path('module', 'global_filter') . '/views';
$plugins = array(
'argument default' => array(
'global_filter_view' => array(
'title' => t('Global filter (view)'),
'handler' => 'global_filter_plugin_argument_default_global_filter_view',
'path' => $path,
),
'global_filter_field' => array(
'title' => t('Global filter (field)'),
'handler' => 'global_filter_plugin_argument_default_global_filter_field',
'path' => $path,
),
),
);
return $plugins;
}
Functions
Name | Description |
---|---|
global_filter_views_plugins | Implements hook_views_plugins(). |