forum_rdf_mapping
function forum_rdf_mapping
forum_rdf_mapping()
Implements hook_rdf_mapping().
File
- modules/forum/forum.module, line 1375
- Provides discussion forums.
Code
function forum_rdf_mapping() { return array( array( 'type' => 'node', 'bundle' => 'forum', 'mapping' => array( 'rdftype' => array('sioc:Post', 'sioct:BoardPost'), 'taxonomy_forums' => array( 'predicates' => array('sioc:has_container'), 'type' => 'rel', ), ), ), array( 'type' => 'taxonomy_term', 'bundle' => 'forums', 'mapping' => array( 'rdftype' => array('sioc:Container', 'sioc:Forum'), ), ), ); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!forum!forum.module/function/forum_rdf_mapping/7.x