function rdf_theme

Same name in other branches
  1. 7.x 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

Code

function rdf_theme() {
    return [
        'rdf_wrapper' => [
            'variables' => [
                'attributes' => [],
                'content' => NULL,
            ],
        ],
        'rdf_metadata' => [
            'variables' => [
                'metadata' => [],
            ],
        ],
    ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.