Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. UpdateRoot.php

function UpdateRoot::__construct

Constructs an UpdateRootFactory instance.

Parameters

\Drupal\Core\DrupalKernelInterface $drupal_kernel: The Drupal kernel.

\Symfony\Component\HttpFoundation\RequestStack $request_stack: The request stack.

File

core/modules/update/src/UpdateRoot.php, line 42

Class

UpdateRoot
Gets the root path used by the Update Manager to install or update projects.

Namespace

Drupal\update

Code

public function __construct(DrupalKernelInterface $drupal_kernel, RequestStack $request_stack) {
    $this->drupalKernel = $drupal_kernel;
    $this->requestStack = $request_stack;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal