function hook_views_plugins_alter

3.x views.api.php hook_views_plugins_alter(&$plugins)
2.x docs.php hook_views_plugins_alter(&$plugins)

Alter existing plugins data, defined by modules.

Related topics

1 invocation of hook_views_plugins_alter()
views_discover_plugins in includes/plugins.inc
Builds and return a list of all plugins available in the system.

File

docs/docs.php, line 256
This file contains no working PHP code; it exists to provide additional documentation for doxygen as well as to document hooks in the standard Drupal manner.

Code

function hook_views_plugins_alter(&$plugins) {
  // Add apachesolr to the base of the node row plugin.
  $plugins['row']['node']['base'][] = 'apachesolr';
}