class LinkManager
Same name in this branch
- 8.9.x core/modules/hal/src/LinkManager/LinkManager.php \Drupal\hal\LinkManager\LinkManager
Same name and namespace in other branches
- 9 core/modules/hal/src/LinkManager/LinkManager.php \Drupal\hal\LinkManager\LinkManager
Hierarchy
- class \Drupal\hal\LinkManager\LinkManager implements \Drupal\hal\LinkManager\LinkManagerInterface
- class \Drupal\rest\LinkManager\LinkManager implements \Drupal\rest\LinkManager\LinkManagerInterface extends \Drupal\hal\LinkManager\LinkManager
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\LinkManagerView source
class LinkManager extends MovedLinkManager implements LinkManagerInterface {
}
Members
| Title Sort descending | Modifiers | Object type | Summary | Overriden Title |
|---|---|---|---|---|
| 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. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.