LinkManager::getTypeInternalIds

public LinkManager::getTypeInternalIds($type_uri, $context = array())

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 | boolean If the URI matches a bundle, returns an array containing entity_type and bundle. Otherwise, returns false.

Overrides TypeLinkManagerInterface::getTypeInternalIds

File

core/modules/rest/src/LinkManager/LinkManager.php, line 44

Class

LinkManager

Namespace

Drupal\rest\LinkManager

Code

public function getTypeInternalIds($type_uri, $context = array()) {
  return $this->typeLinkManager->getTypeInternalIds($type_uri, $context);
}
doc_Drupal
2016-10-29 09:23:23
Comments
Leave a Comment

Please login to continue.