Functions - main - drupal

Primary tabs

Title Deprecated File name Summary Direct uses Strings
update_refresh core/modules/update/update.module Refreshes the release data after loading the necessary include file.
update_remove_post_updates core/modules/update/update.post_update.php Implements hook_removed_post_updates().
update_resolve_dependencies core/includes/update.inc Resolves dependencies in a set of module updates, and orders them correctly. 12
update_retrieve_dependencies core/includes/update.inc Invokes hook_update_dependencies() in all installed modules. 2
update_script_test_update_7200 core/modules/system/tests/modules/update_script_test/update_script_test.install Dummy update_script_test update 7200.
update_script_test_update_7201 core/modules/system/tests/modules/update_script_test/update_script_test.install Dummy update_script_test update 7201.
update_script_test_update_8001 core/modules/system/tests/modules/update_script_test/update_script_test.install Dummy update function to run during the tests.
update_script_test_update_last_removed core/modules/system/tests/modules/update_script_test/update_script_test.install Implements hook_update_last_removed().
update_storage_clear core/modules/update/update.module Invalidates stored data relating to update status. 10
update_system_schema_requirements core/includes/update.inc Returns whether the minimum schema requirement has been satisfied. 1
update_test_0_update_8001 core/modules/system/tests/modules/update_test_0/update_test_0.install Dummy update_test_0 update 8001.
update_test_0_update_8002 core/modules/system/tests/modules/update_test_0/update_test_0.install Dummy update_test_0 update 8002.
update_test_0_update_8003 core/modules/system/tests/modules/update_test_0/update_test_0.install Dummy update_test_0 update 8003.
update_test_1_update_8001 core/modules/system/tests/modules/update_test_1/update_test_1.install Dummy update_test_1 update 8001. 1
update_test_1_update_8002 core/modules/system/tests/modules/update_test_1/update_test_1.install Dummy update_test_1 update 8002. 1
update_test_1_update_8003 core/modules/system/tests/modules/update_test_1/update_test_1.install Dummy update_test_1 update 8003. 1
update_test_1_update_dependencies core/modules/system/tests/modules/update_test_1/update_test_1.install Implements hook_update_dependencies().
update_test_2_update_8001 core/modules/system/tests/modules/update_test_2/update_test_2.install Dummy update_test_2 update 8001. 1
update_test_2_update_8002 core/modules/system/tests/modules/update_test_2/update_test_2.install Dummy update_test_2 update 8002. 1
update_test_2_update_8003 core/modules/system/tests/modules/update_test_2/update_test_2.install Dummy update_test_2 update 8003.
update_test_2_update_dependencies core/modules/system/tests/modules/update_test_2/update_test_2.install Implements hook_update_dependencies().
update_test_3_update_8001 core/modules/system/tests/modules/update_test_3/update_test_3.install Dummy update_test_3 update 8001. 1
update_test_3_update_dependencies core/modules/system/tests/modules/update_test_3/update_test_3.install Implements hook_update_dependencies().
update_test_description_update_8001 core/modules/system/tests/modules/update_test_description/update_test_description.install Update test of slash in description and/or.
update_test_description_update_8002 core/modules/system/tests/modules/update_test_description/update_test_description.install Update test with multiline description, the quick brown fox jumped over the lazy dog.
update_test_failing_post_update_first core/modules/system/tests/modules/update_test_failing/update_test_failing.post_update.php First update, should not be run since this module's update hooks fail.
update_test_failing_update_8001 core/modules/system/tests/modules/update_test_failing/update_test_failing.install This update will fail.
update_test_failing_update_8002 core/modules/system/tests/modules/update_test_failing/update_test_failing.install A further update.
update_test_invalid_hook_update_8000 core/modules/system/tests/modules/update_test_invalid_hook/update_test_invalid_hook.install Hook implementation using the reserved schema version 8000.
update_test_last_removed_update_8003 core/modules/system/tests/modules/update_test_last_removed/update_test_last_removed.install Dummy update function to run during the tests.
update_test_last_removed_update_last_removed core/modules/system/tests/modules/update_test_last_removed/update_test_last_removed.install Implements hook_update_last_removed().
update_test_no_preexisting_update_8001 core/modules/system/tests/modules/update_test_no_preexisting/update_test_no_preexisting.install Dummy update_test_no_preexisting update 8001. 1
update_test_postupdate_post_update_first core/modules/system/tests/modules/update_test_postupdate/update_test_postupdate.post_update.php First update. 2
update_test_postupdate_post_update_second core/modules/system/tests/modules/update_test_postupdate/update_test_postupdate.post_update.php Second update. 2
update_test_postupdate_post_update_test0 core/modules/system/tests/modules/update_test_postupdate/update_test_postupdate.post_update.php Test0 update. 2
update_test_postupdate_post_update_test1 core/modules/system/tests/modules/update_test_postupdate/update_test_postupdate.post_update.php Test1 update. 2
update_test_postupdate_post_update_test_batch core/modules/system/tests/modules/update_test_postupdate/update_test_postupdate.post_update.php Testing batch processing in post updates update. 1
update_test_postupdate_removed_post_updates core/modules/system/tests/modules/update_test_postupdate/update_test_postupdate.post_update.php Implements hook_removed_post_updates().
update_test_postupdate_update_8001 core/modules/system/tests/modules/update_test_postupdate/update_test_postupdate.install Normal update_N() function.
update_test_schema_schema core/modules/system/tests/modules/update_test_schema/update_test_schema.install Implements hook_schema().
update_test_semver_update_n_update_8001 core/modules/system/tests/modules/update_test_semver_update_n/update_test_semver_update_n.install Update 8001. 1
update_test_with_7x_update_7200 core/modules/system/tests/modules/update_test_with_7x/update_test_with_7x.install Dummy update_test_with_7x update 7200.
update_test_with_7x_update_7201 core/modules/system/tests/modules/update_test_with_7x/update_test_with_7x.install Dummy update_test_with_7x update 7201.
update_test_with_7x_update_last_removed core/modules/system/tests/modules/update_test_with_7x/update_test_with_7x.install Implements hook_update_last_removed().
update_uninstall core/modules/update/update.install Implements hook_uninstall().
update_update_last_removed core/modules/update/update.install Implements hook_update_last_removed().
user_cancel core/modules/user/user.module Cancel a user account. 5
user_cancel_methods core/modules/user/user.module Helper function to return available account cancellation methods. 3
user_cancel_url

in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal\user\OneTimeAuthentication::generateCancelConfirmUrl() instead.

core/modules/user/user.module Generates a URL to confirm an account cancellation request.
user_cookie_delete

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

core/modules/user/user.module Delete a visitor information cookie.

Other projects


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