function update_install

update_install()

Implements hook_install().

File

core/modules/update/update.install, line 64
Install, update, and uninstall functions for the Update Manager module.

Code

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!modules!update!update.install/function/update_install/8.1.x