UpdateRootFactory
class UpdateRootFactory (View source)
Gets the root path used by the Update Manager to install or update projects.
Properties
| protected DrupalKernelInterface | $drupalKernel | The Drupal kernel. |
|
| protected RequestStack | $requestStack | The request stack. |
Methods
__construct(DrupalKernelInterface $drupal_kernel, RequestStack $request_stack)
Constructs an UpdateRootFactory instance.
string
get()
Gets the root path under which projects are installed or updated.
Details
__construct(DrupalKernelInterface $drupal_kernel, RequestStack $request_stack)
Constructs an UpdateRootFactory instance.
string
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.