function UpdateController::create

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

Overrides ControllerBase::create

File

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

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'));
}

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