You are here

public function LibraryStream::setDrupalRoot in System stream wrapper 8

Set the path to the Drupal root.

Parameters

string $drupalRoot: The absolute path to the root of the Drupal installation.

File

src/StreamWrapper/LibraryStream.php, line 79

Class

LibraryStream
Defines the read-only library:// stream wrapper for library files.

Namespace

Drupal\system_stream_wrapper\StreamWrapper

Code

public function setDrupalRoot($drupalRoot) {
  $this->drupalRoot = $drupalRoot;
}