You are here

public function LinkManager::getRelationInternalIds in Zircon Profile 8

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

Translates a REST URI into internal IDs.

Parameters

string $relation_uri: Relation URI to transform into internal IDs

Return value

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

Overrides RelationLinkManagerInterface::getRelationInternalIds

File

core/modules/rest/src/LinkManager/LinkManager.php, line 62
Contains \Drupal\rest\LinkManager\LinkManager.

Class

LinkManager

Namespace

Drupal\rest\LinkManager

Code

public function getRelationInternalIds($relation_uri) {
  return $this->relationLinkManager
    ->getRelationInternalIds($relation_uri);
}