You are here

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

@inheritDoc

Overrides StreamWrapperInterface::getExternalUrl

File

src/StreamWrapper/PrintableStream.php, line 31

Class

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

Namespace

Drupal\Printable\StreamWrapper

Code

public function getExternalUrl() {
  return 'printable://' . $this
    ->getTarget();
}