getTempDirectory(); } /** * {@inheritdoc} */ public function getExternalUrl() { $path = str_replace('\\', '/', $this->getTarget()); return Url::fromRoute('system.patternkit', [], [ 'absolute' => TRUE, 'query' => ['file' => $path], ])->toString(); } }