UpdateHookRegistryFactory.php in Drupal 10
File
core/lib/Drupal/Core/Update/UpdateHookRegistryFactory.php
View source
<?php
namespace Drupal\Core\Update;
use Symfony\Component\DependencyInjection\ContainerAwareInterface;
use Symfony\Component\DependencyInjection\ContainerAwareTrait;
class UpdateHookRegistryFactory implements ContainerAwareInterface {
use ContainerAwareTrait;
public function create() {
return new UpdateHookRegistry(array_keys($this->container
->get('module_handler')
->getModuleList()), $this->container
->get('keyvalue')
->get('system.schema'));
}
}