1.16.x views.api.php hook_views_plugins_alter(&$plugins)
1.12.x views.api.php hook_views_plugins_alter(&$plugins)
1.14.x views.api.php hook_views_plugins_alter(&$plugins)
1.15.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.13.x views.api.php hook_views_plugins_alter(&$plugins)
1.8.x views.api.php hook_views_plugins_alter(&$plugins)
1.9.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 627
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';
}