You are here

public function RelationLinkManagerInterface::getRelationInternalIds in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/hal/src/LinkManager/RelationLinkManagerInterface.php \Drupal\hal\LinkManager\RelationLinkManagerInterface::getRelationInternalIds()

Translates a REST URI into internal IDs.

Parameters

string $relation_uri: Relation URI (or IANA link relation type) to transform into internal IDs.

Return value

array Array with keys 'entity_type_id', 'bundle' and 'field_name'.

2 methods override RelationLinkManagerInterface::getRelationInternalIds()
LinkManager::getRelationInternalIds in core/modules/hal/src/LinkManager/LinkManager.php
Translates a REST URI into internal IDs.
RelationLinkManager::getRelationInternalIds in core/modules/hal/src/LinkManager/RelationLinkManager.php
Translates a REST URI into internal IDs.

File

core/modules/hal/src/LinkManager/RelationLinkManagerInterface.php, line 37

Class

RelationLinkManagerInterface

Namespace

Drupal\hal\LinkManager

Code

public function getRelationInternalIds($relation_uri);