From cec07cb18db9fe10f9734ab5356fce1392da8dfa Mon Sep 17 00:00:00 2001 From: Nathaniel Catchpole Date: Fri, 20 Sep 2013 12:42:54 +0100 Subject: [PATCH] Issue #1778122 by scor, linclark, effulgentsia, tim.plunkett: Fixed HEAD broken: Enable modules to inject attributes into field formatters, so that RDF attributes get output. --- .../lib/Drupal/system/Tests/Entity/EntityViewControllerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/modules/system/lib/Drupal/system/Tests/Entity/EntityViewControllerTest.php b/core/modules/system/lib/Drupal/system/Tests/Entity/EntityViewControllerTest.php index 924c692e649..3de68b50d67 100644 --- a/core/modules/system/lib/Drupal/system/Tests/Entity/EntityViewControllerTest.php +++ b/core/modules/system/lib/Drupal/system/Tests/Entity/EntityViewControllerTest.php @@ -102,7 +102,7 @@ class EntityViewControllerTest extends WebTestBase { // Enable the RDF module to ensure that two modules can add attributes to // the same field item. - module_enable(array('rdf')); + \Drupal::moduleHandler()->install(array('rdf')); // Set an RDF mapping for the field_test_text field. This RDF mapping will // be turned into RDFa attributes in the field item output. $mapping = rdf_get_mapping('entity_test_render', 'entity_test_render');