function DbUpdateController::create

Same name in other branches
  1. 9 core/modules/system/src/Controller/DbUpdateController.php \Drupal\system\Controller\DbUpdateController::create()
  2. 8.9.x core/modules/system/src/Controller/DbUpdateController.php \Drupal\system\Controller\DbUpdateController::create()
  3. 11.x core/modules/system/src/Controller/DbUpdateController.php \Drupal\system\Controller\DbUpdateController::create()

Overrides AutowireTrait::create

File

core/modules/system/src/Controller/DbUpdateController.php, line 123

Class

DbUpdateController
Controller routines for database update routes.

Namespace

Drupal\system\Controller

Code

public static function create(ContainerInterface $container) {
    return new static($container->getParameter('app.root'), $container->get('keyvalue.expirable'), $container->get('cache.default'), $container->get('state'), $container->get('module_handler'), $container->get('current_user'), $container->get('bare_html_page_renderer'), $container->get('update.post_update_registry'), $container->get('asset.query_string'));
}

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