Drupal 8  8.0.2
UpdateRootFactory Class Reference

Public Member Functions

 __construct (DrupalKernelInterface $drupal_kernel, RequestStack $request_stack)
 
 get ()
 

Protected Attributes

 $drupalKernel
 
 $requestStack
 

Detailed Description

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

Constructor & Destructor Documentation

__construct ( DrupalKernelInterface  $drupal_kernel,
RequestStack  $request_stack 
)

Constructs an UpdateRootFactory instance.

Parameters
\Drupal\Core\DrupalKernelInterface$drupal_kernelThe Drupal kernel.
\Symfony\Component\HttpFoundation\RequestStack$request_stackThe request stack.

References Drupal\requestStack().

Here is the call graph for this function:

Member Function Documentation

get ( )

Gets the root path under which projects are installed or updated.

The Update Manager will ensure that project files can only be copied to specific subdirectories of this root path.

Returns
string

References Drupal\requestStack().

Here is the call graph for this function:


The documentation for this class was generated from the following file: