You are here

class LinkManager in Drupal 8

Same name in this branch
  1. 8 core/modules/hal/src/LinkManager/LinkManager.php \Drupal\hal\LinkManager\LinkManager
  2. 8 core/modules/rest/src/LinkManager/LinkManager.php \Drupal\rest\LinkManager\LinkManager

Hierarchy

Expanded class hierarchy of LinkManager

Deprecated

in drupal:8.3.0 and is removed from drupal:9.0.0. This has been moved to the hal module. This exists solely for BC.

See also

https://www.drupal.org/node/2830467

1 file declares its use of LinkManager
RestServiceProvider.php in core/modules/rest/src/RestServiceProvider.php

File

core/modules/rest/src/LinkManager/LinkManager.php, line 13

Namespace

Drupal\rest\LinkManager
View source
class LinkManager extends MovedLinkManager implements LinkManagerInterface {

}

Members

Namesort descending Modifiers Type Description Overrides
LinkManager::$relationLinkManager protected property The relation link manager.
LinkManager::$typeLinkManager protected property The type link manager.
LinkManager::getRelationInternalIds public function Translates a REST URI into internal IDs. Overrides RelationLinkManagerInterface::getRelationInternalIds
LinkManager::getRelationUri public function Gets the URI that corresponds to a field. Overrides RelationLinkManagerInterface::getRelationUri
LinkManager::getTypeInternalIds public function Get a bundle's Typed Data IDs based on a URI. Overrides TypeLinkManagerInterface::getTypeInternalIds
LinkManager::getTypeUri public function Gets the URI that corresponds to a bundle. Overrides TypeLinkManagerInterface::getTypeUri
LinkManager::setLinkDomain public function Sets the link domain used in constructing link URIs. Overrides ConfigurableLinkManagerInterface::setLinkDomain
LinkManager::__construct public function Constructor.