Example: RDF in Examples for Developers 7
Example RDF Mapping.
Parent topics
File
- rdf_example/
rdf_example.module, line 9 - This is an example outlining how a module can be used to define RDF mappings. We define mappings for a node type defined in this module. We also customize mappings for a node type that is defined in another module, node_example.
Functions
Name | Location | Description |
---|---|---|
rdf_example_help |
rdf_example/ |
Implements hook_help(). |
rdf_example_install |
rdf_example/ |
Implements hook_install(). |
rdf_example_rdf_mapping |
rdf_example/ |
Implements hook_rdf_mapping(). |
rdf_example_rdf_namespaces |
rdf_example/ |
Implements hook_rdf_namespaces(). |
rdf_example_uninstall |
rdf_example/ |
Implements hook_uninstall(). |
_rdf_example_installed_fields |
rdf_example/ |
Return a structured array defining the fields created by this content type. |
_rdf_example_installed_instances |
rdf_example/ |
Return a structured array defining the instances for this content type. |
Classes
Name | Location | Description |
---|---|---|
RdfExampleRdfaMarkupTestCase |
rdf_example/ |
Test RDFa markup generation. |