function LinkManager::setLinkDomain

Same name in other branches
  1. 8.9.x core/modules/hal/src/LinkManager/LinkManager.php \Drupal\hal\LinkManager\LinkManager::setLinkDomain()

File

core/modules/hal/src/LinkManager/LinkManager.php, line 65

Class

LinkManager

Namespace

Drupal\hal\LinkManager

Code

public function setLinkDomain($domain) {
    $this->relationLinkManager
        ->setLinkDomain($domain);
    $this->typeLinkManager
        ->setLinkDomain($domain);
    return $this;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.