function UpdateManagerInstall::create

Same name in other branches
  1. 9 core/modules/update/src/Form/UpdateManagerInstall.php \Drupal\update\Form\UpdateManagerInstall::create()
  2. 8.9.x core/modules/update/src/Form/UpdateManagerInstall.php \Drupal\update\Form\UpdateManagerInstall::create()
  3. 10 core/modules/update/src/Form/UpdateManagerInstall.php \Drupal\update\Form\UpdateManagerInstall::create()

Overrides FormBase::create

File

core/modules/update/src/Form/UpdateManagerInstall.php, line 79

Class

UpdateManagerInstall
Configure update settings for this site.

Namespace

Drupal\update\Form

Code

public static function create(ContainerInterface $container) {
    return new static($container->get('update.root'), $container->get('module_handler'), $container->getParameter('site.path'), $container->get('plugin.manager.archiver'));
}

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