You are here

public function PrintableStream::getDirectoryPath in Printer and PDF versions for Drupal 8+ 2.x

Gets the path that the wrapper is responsible for.

@todo Review this method name in D8 per https://www.drupal.org/node/701358.

Return value

string String specifying the path.

Overrides LocalStream::getDirectoryPath

File

src/StreamWrapper/PrintableStream.php, line 38

Class

PrintableStream
Defines a Drupal stream wrapper base class for files to be embedded in the PDF.

Namespace

Drupal\Printable\StreamWrapper

Code

public function getDirectoryPath() {
  return static::basePath();
}