constant RDF_DEFAULT_BUNDLE

RDF bundle flag: Default bundle.

Implementations of hook_rdf_mapping() should use this constant for the 'bundle' key when defining a default set of RDF mappings for an entity type. Each bundle will inherit the default mappings defined for the entity type unless the bundle defines its own specific mappings.

Related topics

7 uses of RDF_DEFAULT_BUNDLE
comment_rdf_mapping in drupal/core/modules/comment/comment.module
Implements hook_rdf_mapping().
hook_rdf_mapping in drupal/core/modules/rdf/rdf.api.php
Allow modules to define RDF mappings for field bundles.
node_rdf_mapping in drupal/core/modules/node/node.module
Implements hook_rdf_mapping().
rdf_modules_installed in drupal/core/modules/rdf/rdf.module
Implements hook_modules_installed().
taxonomy_rdf_mapping in drupal/core/modules/taxonomy/taxonomy.module
Implements hook_rdf_mapping().

... See full list

File

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

Code

const RDF_DEFAULT_BUNDLE = '';