From d429cd25dc58ab6c8249b37c1543055aa2acf5cc Mon Sep 17 00:00:00 2001 From: Nathaniel Catchpole Date: Tue, 17 May 2016 10:36:52 +0100 Subject: [PATCH] Issue #2723613 by John Cook: Remove entity_load* usage for rdf_mapping entity type --- core/modules/rdf/rdf.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/modules/rdf/rdf.module b/core/modules/rdf/rdf.module index 12abf9ee9d35..4c5f98b36b7c 100644 --- a/core/modules/rdf/rdf.module +++ b/core/modules/rdf/rdf.module @@ -70,7 +70,7 @@ function rdf_help($route_name, RouteMatchInterface $route_match) { */ function rdf_get_mapping($entity_type, $bundle) { // Try loading the mapping from configuration. - $mapping = entity_load('rdf_mapping', $entity_type . '.' . $bundle); + $mapping = RdfMapping::load($entity_type . '.' . $bundle); // If not found, create a fresh mapping object. if (!$mapping) {