function RelationLinkManagerInterface::getRelationInternalIds
Same name in other branches
- 9 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'. For backwards compatibility, the entity_type key returns the full entity type object, this will be removed before Drupal 9.0.
1 method overrides RelationLinkManagerInterface::getRelationInternalIds()
- 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 39
Class
Namespace
Drupal\hal\LinkManagerCode
public function getRelationInternalIds($relation_uri);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.