Hooks that allow other modules to implement the Views API.
Name | Location | Description |
---|---|---|
hook_views_ajax_data_alter |
drupal/ |
Alter the commands used on a Views AJAX request. |
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_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. |