Issue #2108243 by Wim Leers, prics, linclark, YesCT: Document that HAL's RelationLinkManager(Interface) also supports registered link relation types
parent
bc745b7b84
commit
c8d1f0b157
|
@ -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 @@ interface RelationLinkManagerInterface extends ConfigurableLinkManagerInterface
|
|||
* 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'.
|
||||
|
|
Loading…
Reference in New Issue