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

Breadcrumb

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

function UpdateRoot::set

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

Parameters

string $update_root: The update root.

File

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

Class

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

Namespace

Drupal\update

Code

public function set(string $update_root) : void {
    $this->updateRoot = $update_root;
}

API Navigation

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