Skip to content
Snippets Groups Projects
Commit c8d1f0b1 authored by Gabor Hojtsy's avatar Gabor Hojtsy
Browse files

Issue #2108243 by Wim Leers, prics, linclark, YesCT: Document that HAL's...

Issue #2108243 by Wim Leers, prics, linclark, YesCT: Document that HAL's RelationLinkManager(Interface) also supports registered link relation types
parent bc745b7b
No related branches found
No related tags found
No related merge requests found
......@@ -21,7 +21,7 @@ interface RelationLinkManagerInterface extends ConfigurableLinkManagerInterface
* (optional) Optional serializer/normalizer context.
*
* @return string
* The corresponding URI for the field.
* The corresponding URI (or IANA link relation type) for the field.
*/
public function getRelationUri($entity_type, $bundle, $field_name, $context = []);
......@@ -29,7 +29,7 @@ public function getRelationUri($entity_type, $bundle, $field_name, $context = []
* Translates a REST URI into internal IDs.
*
* @param string $relation_uri
* Relation URI to transform into internal IDs
* Relation URI (or IANA link relation type) to transform into internal IDs.
*
* @return array
* Array with keys 'entity_type', 'bundle' and 'field_name'.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment