Functions - main - drupal

Primary tabs

Title Deprecated File name Summary Direct uses Strings
views_invalidate_cache core/modules/views/views.module Invalidate the views cache, forcing a rebuild on the next grab of table data. 4
views_post_update_add_date_default_arguments core/modules/views/views.post_update.php Clear cache to add new date default arguments.
views_post_update_block_items_per_page core/modules/views/views.post_update.php Defaults `items_per_page` to NULL in Views blocks.
views_post_update_format_plural core/modules/views/views.post_update.php Updates the format plural option for those views using aggregation.
views_post_update_table_css_class core/modules/views/views.post_update.php Adds a default table CSS class.
views_post_update_update_remember_role_empty core/modules/views/views.post_update.php Clean-up empty remember_roles display settings for views filters.
views_post_update_views_data_argument_plugin_id core/modules/views/views.post_update.php Post update configured views for entity reference argument plugin IDs.
views_removed_post_updates core/modules/views/views.post_update.php Implements hook_removed_post_updates().
views_set_current_view

in drupal:11.4.0 and is removed from drupal:13.0.0. There is no replacement.

core/modules/views/views.module Set the current view.
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_config_updater_post_update_set_deprecations_disabled core/modules/views/tests/modules/views_test_config_updater/views_test_config_updater.post_update.php Test post update to set deprecations disabled.
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_schema core/modules/views/tests/modules/views_test_data/views_test_data.install Implements hook_schema(). 3
views_ui_add_ajax_trigger core/modules/views_ui/admin.inc Converts a form element in the add view wizard to be AJAX-enabled. 4
views_ui_add_ajax_wrapper core/modules/views_ui/admin.inc Adds a wrapper to a form region (for AJAX refreshes) after the build. 1
views_ui_add_limited_validation core/modules/views_ui/admin.inc Limits validation errors for a non-JavaScript fallback submit button. 1
views_ui_ajax_update_form core/modules/views_ui/admin.inc Updates a part of the add view form via AJAX. 1
views_ui_build_form_url core/modules/views_ui/admin.inc Creates the menu path for a standard AJAX form given the form state. 2
views_ui_contextual_links_suppress

in drupal:11.4.0 and is removed from drupal:12.0.0. There is no replacement.

core/modules/views_ui/views_ui.module Sets a static variable for controlling whether contextual links are rendered.
views_ui_contextual_links_suppress_pop

in drupal:11.4.0 and is removed from drupal:12.0.0. There is no replacement.

core/modules/views_ui/views_ui.module Decrements the views_ui_contextual_links_suppress() static variable.
views_ui_contextual_links_suppress_push

in drupal:11.4.0 and is removed from drupal:12.0.0. There is no replacement.

core/modules/views_ui/views_ui.module Increments the views_ui_contextual_links_suppress() static variable.
views_ui_form_button_was_clicked core/modules/views_ui/admin.inc The #process callback for a button. 2
views_ui_nojs_submit core/modules/views_ui/admin.inc Non-JavaScript fallback for updating the add view form. 1
views_ui_standard_display_dropdown core/modules/views_ui/admin.inc Adds an element to select either the default display or the current display. 5
views_ui_test_theme_views_ui_display_tab_alter core/modules/views_ui/tests/themes/views_ui_test_theme/views_ui_test_theme.theme Implements hook_views_ui_display_tab_alter().
views_ui_test_theme_views_ui_display_top_alter core/modules/views_ui/tests/themes/views_ui_test_theme/views_ui_test_theme.theme Implements hook_views_ui_display_top_alter().
views_ui_view_preview_section_display_category_links

in drupal:11.3.0 and is removed from drupal:12.0.0. There is no replacement.

core/modules/views_ui/views_ui.module Returns a link to editing a certain display setting.
views_ui_view_preview_section_handler_links

in drupal:11.3.0 and is removed from drupal:12.0.0. There is no replacement.

core/modules/views_ui/views_ui.module Returns contextual links for each handler of a certain section. 1
views_ui_view_preview_section_rows_links

in drupal:11.3.0 and is removed from drupal:12.0.0. There is no replacement.

core/modules/views_ui/views_ui.module Returns all contextual links for the main content part of the view.
views_update_11201 core/modules/views/views.install Removes the ui.show.advanced_column setting.
views_update_last_removed core/modules/views/views.install Implements hook_update_last_removed().
views_view_is_disabled

in drupal:11.4.0 and is removed from drupal:13.0.0. Use !$view->status() instead.

core/modules/views/views.module Returns whether the view is disabled.
views_view_is_enabled

in drupal:11.4.0 and is removed from drupal:13.0.0. Use $view->status() instead.

core/modules/views/views.module Returns whether the view is enabled.
workspaces_removed_post_updates core/modules/workspaces/workspaces.post_update.php Implements hook_removed_post_updates(). 1
workspaces_schema core/modules/workspaces/workspaces.install Implements hook_schema().
workspaces_update_11101 core/modules/workspaces/workspaces.install Update workspace associations to support entity types with string IDs.
workspaces_update_11102 core/modules/workspaces/workspaces.install Install the new Workspaces UI module.
workspaces_update_11301 core/modules/workspaces/workspaces.install Create the 'workspace_association_revision' table.
workspaces_update_11302 core/modules/workspaces/workspaces.install Populate the 'workspace_association_revision' table.
workspaces_update_11303 core/modules/workspaces/workspaces.install Add the workspace provider field.
workspaces_update_dependencies core/modules/workspaces/workspaces.install Implements hook_update_dependencies().
workspaces_update_last_removed core/modules/workspaces/workspaces.install Implements hook_update_last_removed().
workspace_update_test_post_update_check_active_workspace core/modules/workspaces/tests/modules/workspace_update_test/workspace_update_test.post_update.php Checks the active workspace during database updates. 1
_batch_api_percentage core/includes/batch.inc Formats the percent completion for a batch set. 1
_batch_append_set core/includes/form.inc Appends a batch set to a running batch. 1
_batch_current_set core/includes/batch.inc Returns the batch set being currently processed. 5
_batch_do core/includes/batch.inc Does one execution pass with JavaScript and returns progress to the browser. 1
_batch_finished core/includes/batch.inc Ends the batch processing. 2

Other projects


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