public LinkManager::setLinkDomain($domain)
Sets the link domain used in constructing link URIs.
Parameters
string $domain: The link domain to use for constructing link URIs.
Return value
$this
Overrides ConfigurableLinkManagerInterface::setLinkDomain
File
- core/modules/rest/src/LinkManager/LinkManager.php, line 65
Class
Namespace
Drupal\rest\LinkManager
Code
public function setLinkDomain($domain) { $this->relationLinkManager->setLinkDomain($domain); $this->typeLinkManager->setLinkDomain($domain); return $this; }
Please login to continue.