
| Current Path : /var/www/html/store1/web/core/lib/Drupal/Core/Update/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html/store1/web/core/lib/Drupal/Core/Update/UpdateHookRegistryFactory.php |
<?php
namespace Drupal\Core\Update;
use Symfony\Component\DependencyInjection\ContainerAwareInterface;
use Symfony\Component\DependencyInjection\ContainerAwareTrait;
/**
* Service factory for the versioning update registry.
*/
class UpdateHookRegistryFactory implements ContainerAwareInterface {
use ContainerAwareTrait;
/**
* Creates a new UpdateHookRegistry instance.
*
* @return \Drupal\Core\Update\UpdateHookRegistry
* The update registry instance.
*/
public function create() {
return new UpdateHookRegistry(
array_keys($this->container->get('module_handler')->getModuleList()),
$this->container->get('keyvalue')->get('system.schema')
);
}
}