Same name and namespace in other branches
  1. 7.x-3.x views.api.php \hook_views_plugins_alter()

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';
}