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\StreamWrapperCode
public function getExternalUrl() {
return 'printable://' . $this
->getTarget();
}