views.module

Primarily Drupal hooks and global API functions to manipulate views.

File

core/modules/views/views.module

Functions

Name Description
views_add_contextual_links Adds contextual links associated with a view display to a renderable array.
views_disable_view Disables and saves a view.
views_element_validate_tags Validation callback for query tags.
views_embed_view Embed a view using a PHP snippet.
views_enable_view Enables and saves a view.
views_field_config_delete Implements hook_ENTITY_TYPE_delete() for 'field_config'.
views_field_config_insert Implements hook_ENTITY_TYPE_insert() for 'field_config'.
views_field_config_update Implements hook_ENTITY_TYPE_update() for 'field_config'.
views_form_views_exposed_form_alter Implements hook_form_alter() for the exposed form.
views_get_current_view Find out what, if any, current view is currently in use.
views_get_view_result Get the result of a view.
views_help Implements hook_help().
views_hook_info Implements hook_hook_info().
views_invalidate_cache Invalidate the views cache, forcing a rebuild on the next grab of table data.
views_local_tasks_alter Implements hook_local_tasks_alter().
views_preprocess_comment A theme preprocess function to automatically allow view-based node templates if called from a view.
views_preprocess_node A theme preprocess function to automatically allow view-based node templates if called from a view.
views_pre_render_views_form_views_form Replaces views substitution placeholders.
views_query_views_alter Implements hook_query_TAG_alter().
views_set_current_view Set the current 'current view' that is being built/rendered so that it is easy for other modules or items in drupal_eval to identify
views_theme Implements hook_theme().
views_theme_suggestions_comment_alter Implements hook_theme_suggestions_HOOK_alter().
views_theme_suggestions_container_alter Implements hook_theme_suggestions_HOOK_alter().
views_theme_suggestions_node_alter Implements hook_theme_suggestions_HOOK_alter().
views_views_pre_render Implements hook_views_pre_render().
views_view_delete Implements hook_ENTITY_TYPE_delete().
views_view_is_disabled Returns whether the view is disabled.
views_view_is_enabled Returns whether the view is enabled.
_views_query_tag_alter_condition Replaces the substitutions recursive foreach condition.
doc_Drupal
2016-10-29 09:54:46
Comments
Leave a Comment

Please login to continue.