You are here

function hook_views_plugins in Views (for Drupal 7) 6.3

Same name and namespace in other branches
  1. 6.2 docs/docs.php \hook_views_plugins()
  2. 7.3 views.api.php \hook_views_plugins()

The full documentation for this hook is now in the advanced help.

This hook should be placed in MODULENAME.views.inc and it will be auto-loaded. This must either be in the same directory as the .module file or in a subdirectory named 'includes'.

This is a stub list as a reminder that this needs to be doc'd and is not used in views anywhere so might not be remembered when this is formally documented:

  • style: 'even empty'

Related topics

7 functions implement hook_views_plugins()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

aggregator_views_plugins in modules/aggregator.views.inc
Implementation of hook_views_plugins
comment_views_plugins in modules/comment.views.inc
Implementation of hook_views_plugins
node_views_plugins in modules/node.views.inc
Implementation of hook_views_plugins
search_views_plugins in modules/search.views.inc
Implementation of hook_views_plugins
taxonomy_views_plugins in modules/taxonomy.views.inc
Implementation of hook_views_plugins

... See full list

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

File

docs/docs.php, line 249
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() {

  // example code here
}