You are here

function search_views_plugins in Views (for Drupal 7) 6.2

Same name and namespace in other branches
  1. 6.3 modules/search.views.inc \search_views_plugins()
  2. 7.3 modules/search.views.inc \search_views_plugins()

Implementation of hook_views_plugins

Related topics

File

modules/search.views.inc, line 155
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',
        'path' => drupal_get_path('module', 'views') . '/modules/search',
        // not necessary for most modules
        'theme' => 'views_view_row_search',
        'base' => array(
          'node',
        ),
        // only works with 'node' as base.
        'type' => 'normal',
      ),
    ),
  );
}