You are here

public function TypeLinkManagerInterface::getTypeInternalIds in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/hal/src/LinkManager/TypeLinkManagerInterface.php \Drupal\hal\LinkManager\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 = []);