function TypeLinkManagerInterface::getTypeInternalIds

Get a bundle's Typed Data IDs based on a URI.

Parameters

string $type_uri: The type URI.

array $context: Context from the normalizer/serializer operation.

Return value

array|bool If the URI matches a bundle, returns an array containing entity_type and bundle. Otherwise, returns false.

2 methods override TypeLinkManagerInterface::getTypeInternalIds()
LinkManager::getTypeInternalIds in core/modules/hal/src/LinkManager/LinkManager.php
Get a bundle's Typed Data IDs based on a URI.
TypeLinkManager::getTypeInternalIds in core/modules/hal/src/LinkManager/TypeLinkManager.php
Get a bundle's Typed Data IDs based on a URI.

File

core/modules/hal/src/LinkManager/TypeLinkManagerInterface.php, line 38

Class

TypeLinkManagerInterface

Namespace

Drupal\hal\LinkManager

Code

public function getTypeInternalIds($type_uri, $context = []);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.