function rdf_theme in Drupal 10
Same name and namespace in other branches
- 8 core/modules/rdf/rdf.module \rdf_theme()
- 7 modules/rdf/rdf.module \rdf_theme()
- 9 core/modules/rdf/rdf.module \rdf_theme()
Implements hook_theme().
File
- core/
modules/ rdf/ rdf.module, line 257 - Enables semantically enriched output for Drupal sites in the form of RDFa.
Code
function rdf_theme() {
return [
'rdf_wrapper' => [
'variables' => [
'attributes' => [],
'content' => NULL,
],
],
'rdf_metadata' => [
'variables' => [
'metadata' => [],
],
],
];
}