Functions - main - drupal

Primary tabs

Title Deprecated File name Summary Direct uses Strings
views_ui_add_limited_validation

in drupal:11.4.0 and is removed from drupal:13.0.0. There is no replacement for this function. Form classes can use the \Drupal\views\ViewsFormAjaxHelperTrait trait and call the addLimitedValidation() method.

core/modules/views_ui/admin.inc Limits validation errors for a non-JavaScript fallback submit button.
views_ui_ajax_update_form

in drupal:11.4.0 and is removed from drupal:13.0.0. There is no replacement for this function. Form classes can use the \Drupal\views\ViewsFormAjaxHelperTrait trait and call the ajaxUpdateForm() method.

core/modules/views_ui/admin.inc Updates a part of the add view form via AJAX.
views_ui_build_form_url

in drupal:11.4.0 and is removed from drupal:13.0.0. There is no public replacement for this function. Form classes can use the \Drupal\views\ViewsFormHelperTrait trait and call the buildFormUrl() method.

core/modules/views_ui/admin.inc Creates the menu path for a standard AJAX form given the form state.
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

in drupal:11.4.0 and is removed from drupal:13.0.0. There is no public replacement for this function. Form classes can use the \Drupal\views\ViewsFormHelperTrait trait and call the formButtonWasClicked() method.

core/modules/views_ui/admin.inc The #process callback for a button.
views_ui_nojs_submit

in drupal:11.4.0 and is removed from drupal:13.0.0. There is no replacement for this function. Form classes can use the \Drupal\views\ViewsFormAjaxHelperTrait trait and call the noJsSubmit() method.

core/modules/views_ui/admin.inc Non-JavaScript fallback for updating the add view form.
views_ui_standard_display_dropdown

in drupal:11.4.0 and is removed from drupal:13.0.0. There is no public replacement for this function. Form classes can use the \Drupal\views\ViewsFormHelperTrait trait and call the standardDisplayDropdown() method.

core/modules/views_ui/admin.inc Adds an element to select either the default display or the current display.
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_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_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
_batch_needs_update core/includes/batch.inc Checks whether the batch information needs to be updated in the storage. 3
_batch_next_set core/includes/batch.inc Retrieves the next set in a batch. 1
_batch_page core/includes/batch.inc Renders the batch processing page based on the current state of the batch. 3
_batch_populate_queue core/includes/form.inc Populates a job queue with the operations of a batch set. 2
_batch_process core/includes/batch.inc Processes sets in a batch. 3
_batch_progress_page core/includes/batch.inc Outputs a batch processing page. 1
_batch_queue core/includes/form.inc Returns a queue object for a batch set. 3
_batch_shutdown core/includes/batch.inc Shutdown function: Stores the current batch data for the next request. 1
_batch_test_set_file_callback_1 core/modules/system/tests/modules/batch_test/batch_test.set_file.inc Implements callback_batch_operation(). 1
_batch_test_set_file_finished_1 core/modules/system/tests/modules/batch_test/batch_test.set_file.inc Implements callback_batch_finished(). 1
_ckeditor5_get_langcode_mapping

in drupal:11.3.0 and is removed from drupal:12.0.0. Use \Drupal\Core\Language\LanguageManagerInterface instead.

core/modules/ckeditor5/ckeditor5.module Returns a list of language codes supported by CKEditor 5.
_ckeditor5_theme_css

in drupal:11.4.0 and is removed from drupal:12.0.0. No replacement is provided.

core/modules/ckeditor5/ckeditor5.module Retrieves the default theme's CKEditor 5 stylesheets.
_claro_convert_link_to_action_link core/themes/claro/claro.theme Converts a link render element to an action link.
_claro_preprocess_file_and_image_widget core/themes/claro/claro.theme Helper pre-process callback for file_managed_file and image_widget.
_comment_entity_uses_integer_id

in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal\Core\Entity\EntityTypeInterface::hasIntegerId() instead.

core/modules/comment/comment.module Determines if an entity type is using an integer-based ID definition.
_content_translation_install_field_storage_definitions

in drupal:11.4.0 and is removed from drupal:12.0.0. Use ContentTranslationHooks::installFieldStorageDefinitions() instead.

core/modules/content_translation/content_translation.module Installs Content Translation's fields for a given entity type.
_contextual_id_to_links

in drupal:11.4.0 and is removed from drupal:12.0.0. Use \Drupal\contextual\ContextualLinksSerializer::idToLinks() instead.

core/modules/contextual/contextual.module Unserializes the result of ContextualLinksSerializer::linksToId().
_contextual_links_to_id

in drupal:11.4.0 and is removed from drupal:12.0.0. Use \Drupal\contextual\ContextualLinksSerializer::linksToId() instead.

core/modules/contextual/contextual.module Serializes #contextual_links property value array to a string.
_dblog_get_message_types

in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal::service(\Drupal\dblog\DbLogFilters::class)->getMessageTypes() instead.

core/modules/dblog/dblog.module Gathers a list of uniquely defined database log message types.
_drupal_error_handler core/includes/bootstrap.inc Provides custom PHP error handling. 6
_drupal_error_handler_real core/includes/errors.inc Provides custom PHP error handling. 1
_drupal_error_header core/includes/errors.inc Adds error information to headers so that tests can access it. 2
_drupal_exception_handler core/includes/bootstrap.inc Provides custom PHP exception handling. 4

Other projects


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