1.12.x views.api.php hook_views_plugins_alter(&$plugins)
1.10.x views.api.php hook_views_plugins_alter(&$plugins)
1.11.x views.api.php hook_views_plugins_alter(&$plugins)
1.7.x views.api.php hook_views_plugins_alter(&$plugins)

Alter existing plugins data, defined by modules.

See also

hook_views_plugins()

Related topics

File

modules/views/views.api.php, line 628
Describe hooks provided by the Views module.

Code

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