LinkManager::getRelationInternalIds

public LinkManager::getRelationInternalIds($relation_uri)

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 58

Class

LinkManager

Namespace

Drupal\rest\LinkManager

Code

public function getRelationInternalIds($relation_uri) {
  return $this->relationLinkManager->getRelationInternalIds($relation_uri);
}
doc_Drupal
2016-10-29 09:23:22
Comments
Leave a Comment

Please login to continue.