public function UpdateRegistryFactory::create in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Update/UpdateRegistryFactory.php \Drupal\Core\Update\UpdateRegistryFactory::create()
Creates a new UpdateRegistry instance.
Return value
\Drupal\Core\Update\UpdateRegistry The update registry instance.
File
- core/
lib/ Drupal/ Core/ Update/ UpdateRegistryFactory.php, line 26 - Contains \Drupal\Core\Update\UpdateRegistryFactory.
Class
- UpdateRegistryFactory
- Service factory for the update registry.
Namespace
Drupal\Core\UpdateCode
public function create() {
return new UpdateRegistry($this->container
->get('app.root'), $this->container
->get('site.path'), array_keys($this->container
->get('module_handler')
->getModuleList()), $this->container
->get('keyvalue')
->get('post_update'));
}