/** * @inheritdoc */ public function toHtml() { $this->setVar('value', $this->entity->felder[$this->textfield]->toString()); $this->setVar('link', Routing::targetLink($this->target)); $this->defaultSkinFile = __DIR__ . '/LookupLinkControl.template.html'; return $this->renderBySkin(); }