interface LinkManagerInterface in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/rest/src/LinkManager/LinkManagerInterface.php \Drupal\rest\LinkManager\LinkManagerInterface
Interface implemented by link managers.
There are no explicit methods on the manager interface. Instead link managers broker the interactions of the different components, and therefore must implement each component interface, which is enforced by this interface extending all of the component ones.
While a link manager may directly implement these interface methods with custom logic, it is expected to be more common for plugin managers to proxy the method invocations to the respective components.
Hierarchy
- interface \Drupal\rest\LinkManager\TypeLinkManagerInterface; interface \Drupal\rest\LinkManager\RelationLinkManagerInterface
- interface \Drupal\rest\LinkManager\LinkManagerInterface
Expanded class hierarchy of LinkManagerInterface
All classes that implement LinkManagerInterface
3 files declare their use of LinkManagerInterface
- ContentEntityNormalizer.php in core/
modules/ hal/ src/ Normalizer/ ContentEntityNormalizer.php - Contains \Drupal\hal\Normalizer\ContentEntityNormalizer.
- EntityReferenceItemNormalizer.php in core/
modules/ hal/ src/ Normalizer/ EntityReferenceItemNormalizer.php - Contains \Drupal\hal\Normalizer\EntityReferenceItemNormalizer.
- FileEntityNormalizer.php in core/
modules/ hal/ src/ Normalizer/ FileEntityNormalizer.php - Contains \Drupal\hal\Normalizer\FileEntityNormalizer.
File
- core/
modules/ rest/ src/ LinkManager/ LinkManagerInterface.php, line 22 - Contains \Drupal\rest\LinkManager\LinkManagerInterface.
Namespace
Drupal\rest\LinkManagerView source
interface LinkManagerInterface extends TypeLinkManagerInterface, RelationLinkManagerInterface {
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ConfigurableLinkManagerInterface:: |
public | function | Sets the link domain used in constructing link URIs. | 1 |
RelationLinkManagerInterface:: |
public | function | Translates a REST URI into internal IDs. | 2 |
RelationLinkManagerInterface:: |
public | function | Gets the URI that corresponds to a field. | 2 |
TypeLinkManagerInterface:: |
public | function | Get a bundle's Typed Data IDs based on a URI. | 2 |
TypeLinkManagerInterface:: |
public | function | Gets the URI that corresponds to a bundle. | 2 |