Views hooks
Same name in other branches
- 6.x-3.x docs/docs.php \views_hooks
Hooks that can be implemented by other modules in order to implement the Views API.
File
-
./
views.api.php, line 287
Functions
Title Sort descending | File name | Summary |
---|---|---|
hook_field_views_data | ./ |
Override the default data for a Field API field. |
hook_field_views_data_alter | ./ |
Alter the views data for a single Field API field. |
hook_field_views_data_views_data_alter | ./ |
Alter the views data on a per field basis. |
hook_views_ajax_data_alter | ./ |
Allows altering the commands which are used on a views AJAX request. |
hook_views_api | ./ |
Register View API information. |
hook_views_data | ./ |
Describes data tables (or the equivalent) to Views. |
hook_views_data_alter | ./ |
Alter table structure. |
hook_views_default_views | ./ |
Allows modules to provide their own views. |
hook_views_default_views_alter | ./ |
Alter default views defined by other modules. |
hook_views_form_substitutions | ./ |
This hook is called to get a list of placeholders and their substitutions. |
hook_views_handler_option_definition_alter | ./ |
Alter existing handler option definitions. |
hook_views_invalidate_cache | ./ |
Allow modules to respond to the Views cache being invalidated. |
hook_views_plugins | ./ |
Describes plugins defined by the module. |
hook_views_plugins_alter | ./ |
Alter existing plugins data, defined by modules. |
hook_views_plugin_option_definition_alter | ./ |
Alter existing plugin option definitions. |
hook_views_post_build | ./ |
This hook is called right after the build process. |
hook_views_post_execute | ./ |
This hook is called right after the execute process. |
hook_views_post_render | ./ |
Post process any rendered data. |
hook_views_preview_info_alter | ./ |
Alter the information box that (optionally) appears with a view preview. |
hook_views_pre_build | ./ |
Called after the display's pre_execute phase but before the build process. |
hook_views_pre_execute | ./ |
This hook is called right before the execute process. |
hook_views_pre_render | ./ |
This hook is called right before the render process. |
hook_views_pre_view | ./ |
Allows altering a view at the very beginning of processing a preview. |
hook_views_query_alter | ./ |
Alter the query before executing the query. |
hook_views_query_substitutions | ./ |
Performs replacements in the query before being performed. |
hook_views_ui_ajax_forms_alter | ./ |
This hooks allows you to alter the ajax form definitions for the sub-forms that handle the editing of the different pieces of a view, for example adding or editing fields or filters. |
hook_views_ui_display_top_links_alter | ./ |
This hooks allows to alter the links at the top of the view edit form. |
hook_views_view_delete | ./ |
Allow modules to respond to a view being deleted or reverted. |
hook_views_view_presave | ./ |
Allow modules to alter a view prior to being saved. |
hook_views_view_save | ./ |
Allow modules to respond to a view being saved. |