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