Commit c8d1f0b1 authored by Gábor Hojtsy's avatar Gábor Hojtsy

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
......@@ -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'.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment