function UpdateReady::create

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

Overrides FormBase::create

File

core/modules/update/src/Form/UpdateReady.php, line 78

Class

UpdateReady
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->get('state'), $container->getParameter('site.path'));
}

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