Update to Drupal 8.2.0. For more information, see https://www.drupal.org/project/drupal/releases/8.2.0
This commit is contained in:
parent
2f563ab520
commit
f1c8716f57
1732 changed files with 52334 additions and 11780 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Reference in a new issue