function UpdateController::create

Same name in other branches
  1. 8.9.x core/modules/update/src/Controller/UpdateController.php \Drupal\update\Controller\UpdateController::create()

Overrides ControllerBase::create

File

core/modules/update/src/Controller/UpdateController.php, line 51

Class

UpdateController
Controller routines for update routes.

Namespace

Drupal\update\Controller

Code

public static function create(ContainerInterface $container) {
    return new static($container->get('update.manager'), $container->get('renderer'));
}

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