diff --git a/core/modules/jsonld/lib/Drupal/jsonld/JsonldEntityNormalizer.php b/core/modules/jsonld/lib/Drupal/jsonld/JsonldEntityNormalizer.php index 37ed279..2ab909e 100644 --- a/core/modules/jsonld/lib/Drupal/jsonld/JsonldEntityNormalizer.php +++ b/core/modules/jsonld/lib/Drupal/jsonld/JsonldEntityNormalizer.php @@ -48,8 +48,8 @@ public function denormalize($data, $class, $format = null) { // information about the type can be requested from that URI. From that // schema, the entity type and bundle name are extracted. $typeUri = is_array($data['@type']) ? $data['@type'][0] : $data['@type']; - // @todo use a sub request to the schema information instead of manually - // parsing the URI. + // @todo Instead of manually parsing the URI use an approach as discussed in + // http://drupal.org/node/1852812 $parts = explode('/', $typeUri); $bundle = array_pop($parts); $entity_type = array_pop($parts);