Views hooks

Hooks that allow other modules to implement the Views API.

File

drupal/core/modules/views/views.api.php, line 94
Describes hooks and plugins provided by the Views module.

Functions

Name Locationsort descending Description
hook_views_data drupal/core/modules/views/views.api.php Describe data tables (or the equivalent) to Views.
hook_views_data_alter drupal/core/modules/views/views.api.php Alter the table structure defined by hook_views_data().
hook_views_query_substitutions drupal/core/modules/views/views.api.php Replace special strings in the query before it is executed.
hook_views_form_substitutions drupal/core/modules/views/views.api.php Replace special strings when processing a view with form elements.
hook_views_pre_view drupal/core/modules/views/views.api.php Alter a view at the very beginning of Views processing.
hook_views_pre_build drupal/core/modules/views/views.api.php Act on the view before the query is built, but after displays are attached.
hook_views_post_build drupal/core/modules/views/views.api.php Act on the view immediately after the query is built.
hook_views_pre_execute drupal/core/modules/views/views.api.php Act on the view after the query is built and just before it is executed.
hook_views_post_execute drupal/core/modules/views/views.api.php Act on the view immediately after the query has been executed.
hook_views_pre_render drupal/core/modules/views/views.api.php Act on the view immediately before rendering it.
hook_views_post_render drupal/core/modules/views/views.api.php Post-process any rendered data.
hook_views_query_alter drupal/core/modules/views/views.api.php Alter the query before it is executed.
hook_views_preview_info_alter drupal/core/modules/views/views.api.php Alter the view preview information.
hook_views_ui_display_top_links_alter drupal/core/modules/views/views.api.php Alter the links displayed at the top of the view edit form.
hook_views_invalidate_cache drupal/core/modules/views/views.api.php Allow modules to respond to the invalidation of the Views cache.
hook_views_plugins_access_alter drupal/core/modules/views/views.api.php Modify the list of available views access plugins.
hook_views_plugins_argument_default_alter drupal/core/modules/views/views.api.php Modify the list of available views default argument plugins.
hook_views_plugins_argument_validator_alter drupal/core/modules/views/views.api.php Modify the list of available views argument validation plugins.
hook_views_plugins_cache_alter drupal/core/modules/views/views.api.php Modify the list of available views cache plugins.
hook_views_plugins_display_extenders_alter drupal/core/modules/views/views.api.php Modify the list of available views display extender plugins.
hook_views_plugins_display_alter drupal/core/modules/views/views.api.php Modify the list of available views display plugins.
hook_views_plugins_exposed_form_alter drupal/core/modules/views/views.api.php Modify the list of available views exposed form plugins.
hook_views_plugins_join_alter drupal/core/modules/views/views.api.php Modify the list of available views join plugins.
hook_views_plugins_pager_alter drupal/core/modules/views/views.api.php Modify the list of available views join plugins.
hook_views_plugins_query_alter drupal/core/modules/views/views.api.php Modify the list of available views query plugins.
hook_views_plugins_row_alter drupal/core/modules/views/views.api.php Modify the list of available views row plugins.
hook_views_plugins_style_alter drupal/core/modules/views/views.api.php Modify the list of available views style plugins.
hook_views_plugins_wizard_alter drupal/core/modules/views/views.api.php Modify the list of available views wizard plugins.