function UpdateCronHooks::__construct
Same name and namespace in other branches
- 11.x core/modules/update/src/Hook/UpdateCronHooks.php \Drupal\update\Hook\UpdateCronHooks::__construct()
File
-
core/
modules/ update/ src/ Hook/ UpdateCronHooks.php, line 23
Class
- UpdateCronHooks
- Hook implementations for update.
Namespace
Drupal\update\HookCode
public function __construct(protected readonly ConfigFactoryInterface $configFactory, protected readonly ModuleHandlerInterface $moduleHandler, protected readonly StateInterface $state, protected readonly TimeInterface $time, #[AutowireServiceClosure(MailHandler::class)] protected readonly \Closure $mailHandler, #[AutowireServiceClosure(UpdateManagerInterface::class)] protected readonly \Closure $updateManager, #[AutowireServiceClosure(UpdateProcessorInterface::class)] protected readonly \Closure $updateProcessor) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.