You are here

function rdf_theme in Drupal 7

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

Implements hook_theme().

File

modules/rdf/rdf.module, line 435
Enables semantically enriched output for Drupal sites in the form of RDFa.

Code

function rdf_theme() {
  return array(
    'rdf_template_variable_wrapper' => array(
      'variables' => array(
        'content' => NULL,
        'attributes' => array(),
        'context' => array(),
        'inline' => TRUE,
      ),
    ),
    'rdf_metadata' => array(
      'variables' => array(
        'metadata' => array(),
      ),
    ),
  );
}