Full ELMS Learning Network documentation
Views hooks
- cis7 sites/all/modules/ulmus/views/views.api.php views_hooks
- cle7 sites/all/modules/ulmus/views/views.api.php views_hooks
- elmsmedia7 sites/all/modules/ulmus/views/views.api.php views_hooks
- icor7 sites/all/modules/ulmus/views/views.api.php views_hooks
- meedjum_blog7 sites/all/modules/ulmus/views/views.api.php views_hooks
- mooc7 sites/all/modules/ulmus/views/views.api.php views_hooks
Hooks that can be implemented by other modules in order to implement the Views API.
Functions
Name![]() |
Location | Description |
---|---|---|
hook_views_ajax_data_alter |
sites/ |
This hook allows to alter the commands which are used on a views ajax request. |
hook_views_api |
sites/ |
Register View API information. |
hook_views_data |
sites/ |
Describes data tables (or the equivalent) to Views. |
hook_views_data_alter |
sites/ |
Alter table structure. |
hook_views_default_views |
sites/ |
This hook allows modules to provide their own views which can either be used as-is or as a "starter" for users to build from. |
hook_views_default_views_alter |
sites/ |
Alter default views defined by other modules. |
hook_views_form_substitutions |
sites/ |
This hook is called to get a list of placeholders and their substitutions, used when preprocessing a View with form elements. |
hook_views_invalidate_cache |
sites/ |
Allow modules to respond to the Views cache being invalidated. |
hook_views_plugins |
sites/ |
Describes plugins defined by the module. |
hook_views_plugins_alter |
sites/ |
Alter existing plugins data, defined by modules. |
hook_views_post_build |
sites/ |
This hook is called right after the build process. The query is now fully built, but it has not yet been run through db_rewrite_sql. |
hook_views_post_execute |
sites/ |
This hook is called right after the execute process. The query has been executed, but the pre_render() phase has not yet happened for handlers. |
hook_views_post_render |
sites/ |
Post process any rendered data. |
hook_views_preview_info_alter |
sites/ |
Alter the information box that (optionally) appears with a view preview, including query and performance statistics. |
hook_views_pre_build |
sites/ |
This hook is called right before the build process, but after displays are attached and the display performs its pre_execute phase. |
hook_views_pre_execute |
sites/ |
This hook is called right before the execute process. The query is now fully built, but it has not yet been run through db_rewrite_sql. |
hook_views_pre_render |
sites/ |
This hook is called right before the render process. The query has been executed, and the pre_render() phase has already happened for handlers, so all data should be available. |
hook_views_pre_view |
sites/ |
Allows altering a view at the very beginning of views processing, before anything is done. |
hook_views_query_alter |
sites/ |
Alter the query before executing the query. |
hook_views_query_substitutions |
sites/ |
Performs replacements in the query before being performed. |
hook_views_ui_display_top_links_alter |
sites/ |
This hooks allows to alter the links at the top of the view edit form. Some modules might want to add links there. |
File
- sites/
all/ modules/ ulmus/ views/ views.api.php, line 285 - Describe hooks provided by the Views module.