You are here

function search_views_plugins in Views (for Drupal 7) 7.3

Same name and namespace in other branches
  1. 6.3 modules/search.views.inc \search_views_plugins()
  2. 6.2 modules/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.
  // @todo Fix this.
  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',
      ),
    ),
  );
}