You are here

function update_install in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/update/update.install \update_install()
  2. 6 modules/update/update.install \update_install()
  3. 7 modules/update/update.install \update_install()
  4. 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();
}