Change record status: 
Project: 
Introduced in branch: 
11.2.x
Introduced in version: 
11.2.0
Description: 

The update.module included in Drupal core used to provide a mechanism to update contributed extensions (modules and themes) directly via the web admin user interface. This system did not use composer, so any extension with external dependencies would not be correctly updated. The UI for this has been removed in Drupal 11.2.0 (see The UI for updating modules and themes via the admin interface has been removed), in favor of using composer or the forthcoming "Automatic Updates" feature (currently the Automatic Updates contributed module, hopefully soon to be included in Drupal Core as the new "Update Manager").

As a result, all of these methods and classes are now deprecated:

  1. core/authorize.php
  2. system_authorized_init()
  3. system_authorized_get_url()
  4. system_authorized_batch_processing_url()
  5. system_authorized_run()
  6. system_authorized_batch_process()
  7. core/lib/Drupal/Core/FileTransfer/*
  8. core/lib/Drupal/Core/Updater/*
  9. drupal_get_filetransfer_info()
  10. hook_filetransfer_info()
  11. hook_filetransfer_info_alter()
  12. drupal_get_updaters()
  13. hook_updater_info()
  14. hook_updater_info_alter()
  15. hook_verify_update_archive()
  16. Every method in core/modules/update/update.authorize.inc
  17. Every method in core/modules/update/update.manager.inc

All of this code will be removed from Drupal 12.0.0. There is no direct replacement. An entirely new system will be provided once "Automatic updates" is merged into Drupal Core.

See also Additional 'Update Manager' deprecations.

Impacts: 
Site builders, administrators, editors
Module developers
Site templates, recipes and distribution developers