function poll_rdf_mapping
7.x poll.module | poll_rdf_mapping() |
Implements hook_rdf_mapping().
File
- drupal-7.x/
modules/ poll/ poll.module, line 1009 - 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'),
),
),
);
}