function update_install

Same name in other branches
  1. 7.x modules/update/update.install \update_install()
  2. 9 core/modules/update/update.install \update_install()
  3. 8.9.x core/modules/update/update.install \update_install()
  4. 10 core/modules/update/update.install \update_install()

Implements hook_install().

File

core/modules/update/update.install, line 76

Code

function update_install() : void {
    $queue = \Drupal::queue('update_fetch_tasks', TRUE);
    $queue->createQueue();
}

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