LinkManagerBase::setLinkDomain

public LinkManagerBase::setLinkDomain($domain)

File

core/modules/rest/src/LinkManager/LinkManagerBase.php, line 34

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;
}
doc_Drupal
2016-10-29 09:23:24
Comments
Leave a Comment

Please login to continue.