You are here

constant RDF_DEFAULT_BUNDLE in Drupal 7

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

6 uses of RDF_DEFAULT_BUNDLE
comment_rdf_mapping in modules/comment/comment.module
Implements hook_rdf_mapping().
node_rdf_mapping in modules/node/node.module
Implements hook_rdf_mapping().
rdf_modules_installed in modules/rdf/rdf.module
Implements hook_modules_installed().
taxonomy_rdf_mapping in modules/taxonomy/taxonomy.module
Implements hook_rdf_mapping().
user_rdf_mapping in modules/user/user.module
Implements hook_rdf_mapping().

... See full list

File

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

Code

define('RDF_DEFAULT_BUNDLE', '');