Issue #2108243 by Wim Leers, prics, linclark, YesCT: Document that HAL's RelationLinkManager(Interface) also supports registered link relation types

8.4.x
Gabor Hojtsy 2017-04-11 21:12:30 +02:00
parent bc745b7b84
commit c8d1f0b157
1 changed files with 2 additions and 2 deletions

View File

@ -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'.