Update to Drupal 8.1.0. For more information, see https://www.drupal.org/drupal-8.1.0-release-notes

This commit is contained in:
Pantheon Automation 2016-04-20 09:56:34 -07:00 committed by Greg Anderson
parent b11a755ba8
commit c0a0d5a94c
6920 changed files with 64395 additions and 57312 deletions

View file

@ -7,6 +7,7 @@
use Drupal\Core\Routing\RouteMatchInterface;
use Drupal\Core\Template\Attribute;
use Drupal\rdf\Entity\RdfMapping;
/**
* Implements hook_help().
@ -73,7 +74,7 @@ function rdf_get_mapping($entity_type, $bundle) {
// If not found, create a fresh mapping object.
if (!$mapping) {
$mapping = entity_create('rdf_mapping', array(
$mapping = RdfMapping::create(array(
'targetEntityType' => $entity_type,
'bundle' => $bundle,
));