public function uri(NodeInterface $node = null, ControllerContext $controllerContext) { if ($node === null) { // This happens when the document node os not published yet return ''; } // Create an absolute URI without resolving shortcuts return $this->linkingService->createNodeUri($controllerContext, $node, null, null, true, array(), '', false, array(), false); }