LinkManager::setLinkDomain

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

LinkManager

Namespace

Drupal\rest\LinkManager

Code

public function setLinkDomain($domain) {
  $this->relationLinkManager->setLinkDomain($domain);
  $this->typeLinkManager->setLinkDomain($domain);
  return $this;
}
doc_Drupal
2016-10-29 09:23:23
Comments
Leave a Comment

Please login to continue.