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.

8.0.x
Nathaniel Catchpole 2013-09-20 12:42:54 +01:00
parent f0ef79ce8c
commit cec07cb18d
1 changed files with 1 additions and 1 deletions

View File

@ -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');