Skip to content
Snippets Groups Projects
Commit cec07cb1 authored by catch's avatar catch
Browse files

Issue #1778122 by scor, linclark, effulgentsia, tim.plunkett: Fixed HEAD...

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.
parent f0ef79ce
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -102,7 +102,7 @@ public function testFieldItemAttributes() {
// 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');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment