You are here

function hook_microdata_vocabulary_info in Microdata 7

Declare microdata vocabularies.

1 function implements hook_microdata_vocabulary_info()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

microdata_microdata_vocabulary_info in ./microdata.module
Implements hook_microdata_vocabulary_info().
1 invocation of hook_microdata_vocabulary_info()
microdata_get_vocabulary_info in ./microdata.module
Gets the vocabulary info as registered by hook_microdata_vocabulary_info.

File

./microdata.api.php, line 101
Hooks provided by Microdata module.

Code

function hook_microdata_vocabulary_info() {
  return array(
    'schema_org' => array(
      'label' => 'Schema.org',
      'description' => t("Google, Bing, and Yahoo! supported terms for Rich Snippets, documented at !link.", array(
        '!link' => l('Schema.org', 'http://schema.org'),
      )),
      'import_url' => 'http://schema.rdfs.org/all.json',
    ),
  );
}