You are here

public function LinkManagerBase::setLinkDomain in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/rest/src/LinkManager/LinkManagerBase.php \Drupal\rest\LinkManager\LinkManagerBase::setLinkDomain()

File

core/modules/rest/src/LinkManager/LinkManagerBase.php, line 39
Contains \Drupal\rest\LinkManager\LinkManagerBase.

Class

LinkManagerBase
Defines an abstract base-class for REST link manager objects.

Namespace

Drupal\rest\LinkManager

Code

public function setLinkDomain($domain) {
  $this->linkDomain = rtrim($domain, '/');
  return $this;
}