Functions - main - drupal

Primary tabs

Title Deprecated File name Summary Direct uses Strings
test_theme_settings_form_system_theme_settings_alter core/modules/system/tests/themes/test_theme_settings/theme-settings.php Implements hook_form_system_theme_settings_alter().
test_theme_settings_form_system_theme_settings_submit core/modules/system/tests/themes/test_theme_settings/theme-settings.php Test theme form settings submission handler. 1
test_theme_updates_post_update_test core/modules/system/tests/themes/test_theme_updates/test_theme_updates.post_update.php Tests post updates for themes.
text_removed_post_updates core/modules/text/text.post_update.php Implements hook_removed_post_updates().
text_summary

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

core/modules/text/text.module Generates a trimmed, formatted version of a text field value.
theme_get_setting

in drupal:11.3.0 and is removed from drupal:13.0.0. Use \Drupal::service('Drupal\Core\Extension\ThemeSettingsProvider')->getSetting() instead.

core/includes/theme.inc Retrieves a setting for the current theme or for a given theme.
theme_get_suggestions core/includes/theme.inc Generate an array of suggestions from path arguments. 4
theme_settings_convert_to_config core/includes/theme.inc Converts theme settings to configuration. 1
time core/tests/Drupal/Tests/Component/Datetime/TimeTest.php Shadow time() system call. 33
toolbar_get_rendered_subtrees core/modules/toolbar/toolbar.module Returns the rendered subtree of each top-level toolbar link. 2
toolbar_menu_navigation_links core/modules/toolbar/toolbar.module Adds toolbar-specific attributes to the menu link tree. 2
twig_extension core/themes/engines/twig/twig.engine Implements hook_extension(). 1
twig_render_template core/themes/engines/twig/twig.engine Implements hook_render_template().
twig_theme core/themes/engines/twig/twig.engine Implements hook_theme().
umami_form_alter core/profiles/demo_umami/themes/umami/umami.theme Implements hook_form_alter().
umami_form_search_block_form_alter core/profiles/demo_umami/themes/umami/umami.theme Implements hook_form_FORM_ID_alter() for search_block_form.
umami_preprocess_block core/profiles/demo_umami/themes/umami/umami.theme Implements hook_preprocess_HOOK() for block.
umami_preprocess_block__bundle__banner_block core/profiles/demo_umami/themes/umami/umami.theme Implements hook_preprocess_HOOK() for block--bundle--banner-block.
umami_preprocess_block__bundle__footer_promo_block core/profiles/demo_umami/themes/umami/umami.theme Implements hook_preprocess_HOOK() for block bundle footer promo.
umami_preprocess_breadcrumb core/profiles/demo_umami/themes/umami/umami.theme Implements hook_preprocess_HOOK() for breadcrumb.
umami_preprocess_field core/profiles/demo_umami/themes/umami/umami.theme Implements hook_preprocess_HOOK() for field.
umami_preprocess_html core/profiles/demo_umami/themes/umami/umami.theme Implements hook_preprocess_HOOK() for html.
umami_preprocess_image_widget core/profiles/demo_umami/themes/umami/umami.theme Implements hook_preprocess_HOOK() for image-widget.
umami_preprocess_links core/profiles/demo_umami/themes/umami/umami.theme Implements hook_preprocess_HOOK() for links.
umami_preprocess_links__media_library_menu core/profiles/demo_umami/themes/umami/umami.theme Implements hook_preprocess_HOOK() for links--media-library-menu.
umami_preprocess_menu_local_task core/profiles/demo_umami/themes/umami/umami.theme Implements hook_preprocess_HOOK() for menu-local-task.
umami_theme_suggestions_block_alter core/profiles/demo_umami/themes/umami/umami.theme Implements hook_theme_suggestions_HOOK_alter() for block templates.
under_test_update_1 core/tests/Drupal/Tests/Core/Update/UpdateHookRegistryTest.php Simulates a hook_update_N function.
under_test_update_1234_failed core/tests/Drupal/Tests/Core/Update/UpdateHookRegistryTest.php Simulates a hook_update_N function.
under_test_update_20 core/tests/Drupal/Tests/Core/Update/UpdateHookRegistryTest.php Simulates a hook_update_N function.
under_test_update_3000 core/tests/Drupal/Tests/Core/Update/UpdateHookRegistryTest.php Simulates a hook_update_N function.
updated_module_hello core/modules/package_manager/tests/fixtures/build_test_projects/updated_module/1.1.0/updated_module.module Page controller that says hello.
updated_module_hello core/modules/package_manager/tests/fixtures/build_test_projects/updated_module/1.0.0/updated_module.module Page controller that says hello.
update_already_performed core/includes/update.inc Determines if a module update has already been performed. 1
update_build_dependency_graph core/includes/update.inc Constructs a graph which encodes the dependencies between module updates. 1
update_calculate_project_data core/modules/update/update.compare.inc Calculates the current update status of all projects on the site. 5
update_calculate_project_update_status core/modules/update/update.compare.inc Calculates the current update status of a specific project. 1
update_check_requirements core/includes/update.inc Checks update requirements and reports errors and (optionally) warnings. 1
update_create_fetch_task core/modules/update/update.module Adds a task to the queue for fetching release history data for a project. 2
update_do_one core/includes/update.inc Implements callback_batch_operation(). 1
update_fetch_data core/modules/update/update.module Attempts to fetch update data after loading the necessary include file. 1
update_fetch_data_finished core/modules/update/update.module Batch callback: Performs actions when all fetch tasks have been completed. 1
update_get_available core/modules/update/update.module Tries to get update information and refreshes it when necessary. 8
update_get_update_function_list core/includes/update.inc Returns an organized list of update functions for a set of modules. 1
update_get_update_list core/includes/update.inc Returns a list of all the pending database updates. 5
update_install core/modules/update/update.install Implements hook_install().
update_invoke_post_update core/includes/update.inc Executes a single hook_post_update_NAME(). 1
update_is_missing core/includes/update.inc Determines if a module update is missing or unavailable. 1
update_post_update_clear_disk_cache_again core/modules/update/update.post_update.php Removes the legacy 'Update Manager' disk cache (again).
update_process_project_info core/modules/update/update.compare.inc Determines version and type information for currently installed projects. 1

Other projects


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