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

Namesort descending Location Description
hook_views_ajax_data_alter drupal/core/modules/views/views.api.php Alter the commands used on a Views AJAX request.
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_form_substitutions drupal/core/modules/views/views.api.php Replace special strings when processing a view with form elements.
hook_views_invalidate_cache drupal/core/modules/views/views.api.php Allow modules to respond to the invalidation of the Views cache.
hook_views_post_build drupal/core/modules/views/views.api.php Act on the view immediately after the query is built.
hook_views_post_execute drupal/core/modules/views/views.api.php Act on the view immediately after the query has been executed.
hook_views_post_render drupal/core/modules/views/views.api.php Post-process any rendered data.
hook_views_preview_info_alter drupal/core/modules/views/views.api.php Alter the view preview information.
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_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_pre_render drupal/core/modules/views/views.api.php Act on the view immediately before rendering it.
hook_views_pre_view drupal/core/modules/views/views.api.php Alter a view at the very beginning of Views processing.
hook_views_query_alter drupal/core/modules/views/views.api.php Alter the query before it is executed.
hook_views_query_substitutions drupal/core/modules/views/views.api.php Replace special strings in the query before it is executed.
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.