You are here

function rdf_theme in Drupal 8

Same name and namespace in other branches
  1. 7 modules/rdf/rdf.module \rdf_theme()
  2. 9 core/modules/rdf/rdf.module \rdf_theme()

Implements hook_theme().

File

core/modules/rdf/rdf.module, line 254
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' => [],
      ],
    ],
  ];
}