public function LinkManagerBase::setLinkDomain in Drupal 9
Same name and namespace in other branches
- 8 core/modules/hal/src/LinkManager/LinkManagerBase.php \Drupal\hal\LinkManager\LinkManagerBase::setLinkDomain()
File
- core/
modules/ hal/ src/ LinkManager/ LinkManagerBase.php, line 36
Class
- LinkManagerBase
- Defines an abstract base-class for HAL link manager objects.
Namespace
Drupal\hal\LinkManagerCode
public function setLinkDomain($domain) {
$this->linkDomain = rtrim($domain, '/');
return $this;
}