function search_views_plugins
3.x search.views.inc | search_views_plugins() |
2.x search.views.inc | search_views_plugins() |
Implements hook_views_plugins().
File
- modules/
search.views.inc, line 135 - Provide views data and handlers for search.module.
Code
function search_views_plugins() {
return;
// DISABLED. This currently doesn't work.
return array(
'module' => 'views', // This just tells our themes are elsewhere.
'row' => array(
'search' => array(
'title' => t('Search'),
'help' => t('Display the results with standard search view.'),
'handler' => 'views_plugin_row_search_view',
'theme' => 'views_view_row_search',
'path' => drupal_get_path('module', 'views') . '/modules/search', // not necessary for most modules
'base' => array('node'), // only works with 'node' as base.
'type' => 'normal',
),
'views_handler_argument_search' => array(
'parent' => 'views_handler_argument',
),
),
);
}