poll_rdf_mapping
function poll_rdf_mapping
poll_rdf_mapping()
Implements hook_rdf_mapping().
File
- modules/poll/poll.module, line 1001
- Enables your site to capture votes on different topics in the form of multiple choice questions.
Code
function poll_rdf_mapping() { return array( array( 'type' => 'node', 'bundle' => 'poll', 'mapping' => array( 'rdftype' => array('sioc:Post', 'sioct:Poll'), ), ), ); }
© 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!poll!poll.module/function/poll_rdf_mapping/7.x