function DatabaseUpdate::__construct

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Core/Update/DatabaseUpdate.php \Drupal\Core\Update\DatabaseUpdate::__construct()

File

core/lib/Drupal/Core/Update/DatabaseUpdate.php, line 25

Class

DatabaseUpdate
Drupal database update API.

Namespace

Drupal\Core\Update

Code

public function __construct(protected UpdateHookRegistry $updateRegistry, protected ModuleHandlerInterface $moduleHandler, protected MessengerInterface $messenger, protected LoggerChannelFactoryInterface $loggerChannelFactory) {
}

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