Functions - 9.5.x - drupal

Primary tabs

Title Deprecated File name Summary Direct uses Strings
views_add_contextual_links core/modules/views/views.module Adds contextual links associated with a view display to a renderable array. 3 2
views_base_field_override_delete core/modules/views/views.module Implements hook_ENTITY_TYPE_delete().
views_base_field_override_insert core/modules/views/views.module Implements hook_ENTITY_TYPE_insert().
views_base_field_override_update core/modules/views/views.module Implements hook_ENTITY_TYPE_update().
views_disable_view core/modules/views/views.module Disables and saves a view. 1
views_element_validate_tags core/modules/views/views.module Validation callback for query tags. 1
views_embed_view core/modules/views/views.module Embed a view using a PHP snippet. 1
views_enable_view core/modules/views/views.module Enables and saves a view. 1
views_entity_field_label core/modules/views/views.views.inc Returns the label of a certain field. 5
views_entity_test_entity_base_field_info core/modules/views/tests/modules/views_entity_test/views_entity_test.module Implements hook_entity_bundle_field_info().
views_entity_test_entity_field_access core/modules/views/tests/modules/views_entity_test/views_entity_test.module Implements hook_entity_field_access().
views_entity_test_entity_load core/modules/views/tests/modules/views_entity_test/views_entity_test.module Implements hook_entity_load().
views_field_config_delete core/modules/views/views.module Implements hook_ENTITY_TYPE_delete() for 'field_config'.
views_field_config_insert core/modules/views/views.module Implements hook_ENTITY_TYPE_insert() for 'field_config'.
views_field_config_update core/modules/views/views.module Implements hook_ENTITY_TYPE_update() for 'field_config'.
views_field_default_views_data core/modules/views/views.views.inc Default views data implementation for a field. 7
views_form_test_form_views_form_media_media_page_list_alter core/modules/views/tests/modules/views_form_test/views_form_test.module Implements hook_form_BASE_FORM_ID_alter().
views_form_views_exposed_form_alter core/modules/views/views.module Implements hook_form_alter() for the exposed form.
views_get_current_view core/modules/views/views.module Find out what, if any, current view is currently in use. 1
views_get_view_result core/modules/views/views.module Get the result of a view.
views_help core/modules/views/views.module Implements hook_help().
views_hook_info core/modules/views/views.module Implements hook_hook_info().
views_install core/modules/views/views.install Implements hook_install().
views_invalidate_cache core/modules/views/views.module Invalidate the views cache, forcing a rebuild on the next grab of table data. 3 1
views_local_tasks_alter core/modules/views/views.module Implements hook_local_tasks_alter().
views_post_update_configuration_entity_relationships core/modules/views/views.post_update.php Clear errors caused by relationships to configuration entities.
views_post_update_field_names_for_multivalue_fields core/modules/views/views.post_update.php Update field names for multi-value base fields. 1
views_post_update_image_lazy_load core/modules/views/views.post_update.php Add lazy load options to all image type field configurations.
views_post_update_provide_revision_table_relationship core/modules/views/views.post_update.php Clear caches due to adding a relationship from revision table to base table.
views_post_update_remove_sorting_global_text_field core/modules/views/views.post_update.php Clear caches due to removal of sorting for global custom text field.
views_post_update_rename_default_display_setting core/modules/views/views.post_update.php Rename the setting for showing the default display to 'default_display'.
views_post_update_sort_identifier core/modules/views/views.post_update.php Add the identifier option to all sort handler configurations.
views_post_update_title_translations core/modules/views/views.post_update.php Rebuild routes to fix view title translations.
views_preprocess_comment core/modules/views/views.module Allows view-based comment templates if called from a view.
views_preprocess_node core/modules/views/views.module Allows view-based node templates if called from a view.
views_query_views_alter core/modules/views/views.module Implements hook_query_TAG_alter(). 1
views_removed_post_updates core/modules/views/views.post_update.php Implements hook_removed_post_updates().
views_set_current_view core/modules/views/views.module Set the current view. 3
views_test_checkboxes_theme_form_views_exposed_form_alter core/modules/views/tests/themes/views_test_checkboxes_theme/views_test_checkboxes_theme.theme Changes an exposed "type" filter from a multi-select to checkboxes.
views_test_classy_subtheme_views_ui_display_tab_alter core/modules/views_ui/tests/themes/views_test_classy_subtheme/views_test_classy_subtheme.theme Implements hook_views_ui_display_tab_alter().
views_test_classy_subtheme_views_ui_display_top_alter core/modules/views_ui/tests/themes/views_test_classy_subtheme/views_test_classy_subtheme.theme Implements hook_views_ui_display_top_alter().
views_test_config_views_post_render core/modules/views/tests/modules/views_test_config/views_test_config.module Implements hook_views_post_render().
views_test_config_view_load core/modules/views/tests/modules/views_test_config/views_test_config.module Implements hook_ENTITY_TYPE_load().
views_test_data_field_views_data core/modules/views/tests/modules/views_test_data/views_test_data.views_execution.inc Implements hook_field_views_data().
views_test_data_field_views_data_alter core/modules/views/tests/modules/views_test_data/views_test_data.views_execution.inc Implements hook_field_views_data_alter().
views_test_data_form_views_form_test_form_multiple_default_alter core/modules/views/tests/modules/views_test_data/views_test_data.module Implements hook_form_BASE_FORM_ID_alter().
views_test_data_handler_test_access_callback core/modules/views/tests/modules/views_test_data/views_test_data.module Access callback for the generic handler test. 1
views_test_data_handler_test_access_callback_argument core/modules/views/tests/modules/views_test_data/views_test_data.module Access callback with an argument for the generic handler test. 1
views_test_data_install core/modules/views/tests/modules/views_test_data/views_test_data.install Implements hook_install().
views_test_data_preprocess_views_view_table core/modules/views/tests/modules/views_test_data/views_test_data.module Implements hook_preprocess_HOOK() for views table templates.

Other projects


Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.