You are here

public function ConfigurableLinkManagerInterface::setLinkDomain in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/hal/src/LinkManager/ConfigurableLinkManagerInterface.php \Drupal\hal\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/hal/src/LinkManager/LinkManager.php
Sets the link domain used in constructing link URIs.

File

core/modules/hal/src/LinkManager/ConfigurableLinkManagerInterface.php, line 18

Class

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

Namespace

Drupal\hal\LinkManager

Code

public function setLinkDomain($domain);