Issue #2723613 by John Cook: Remove entity_load* usage for rdf_mapping entity type

8.2.x
Nathaniel Catchpole 2016-05-17 10:36:52 +01:00
parent 501e8b434a
commit d429cd25dc
1 changed files with 1 additions and 1 deletions

View File

@ -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) {