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

File

core/modules/rest/src/LinkManager/LinkManagerInterface.php, line 17

Namespace

Drupal\rest\LinkManager

Members

Name Modifiers Type Description
ConfigurableLinkManagerInterface::setLinkDomain public function Sets the link domain used in constructing link URIs.
RelationLinkManagerInterface::getRelationInternalIds public function Translates a REST URI into internal IDs.
RelationLinkManagerInterface::getRelationUri public function Gets the URI that corresponds to a field.
TypeLinkManagerInterface::getTypeInternalIds public function Get a bundle's Typed Data IDs based on a URI.
TypeLinkManagerInterface::getTypeUri public function Gets the URI that corresponds to a bundle.
doc_Drupal
2016-10-29 09:23:25
Comments
Leave a Comment

Please login to continue.