function update_install in Drupal 10
Same name and namespace in other branches
- 8 core/modules/update/update.install \update_install()
- 6 modules/update/update.install \update_install()
- 7 modules/update/update.install \update_install()
- 9 core/modules/update/update.install \update_install()
Implements hook_install().
File
- core/
modules/ update/ update.install, line 76 - Install, update, and uninstall functions for the Update Manager module.
Code
function update_install() {
$queue = \Drupal::queue('update_fetch_tasks', TRUE);
$queue
->createQueue();
}