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. 10 core/modules/update/update.install \update_install()
  4. 11.x core/modules/update/update.install \update_install()

Implements hook_install().

File

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

Code

function update_install() {
    $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.