You are here

public function ConfigurableLinkManagerInterface::setLinkDomain in Zircon Profile 8.0

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

Sets the link domain used in constructing link URIs.

Parameters

string $domain: The link domain to use for constructing link URIs.

Return value

$this

1 method overrides ConfigurableLinkManagerInterface::setLinkDomain()
LinkManager::setLinkDomain in core/modules/rest/src/LinkManager/LinkManager.php
Sets the link domain used in constructing link URIs.

File

core/modules/rest/src/LinkManager/ConfigurableLinkManagerInterface.php, line 23
Contains \Drupal\rest\LinkManager\ConfigurableLinkManagerInterface.

Class

ConfigurableLinkManagerInterface
Defines an interface for a link manager with a configurable domain.

Namespace

Drupal\rest\LinkManager

Code

public function setLinkDomain($domain);