You are here

function poll_rdf_mapping in Drupal 7

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',
        ),
      ),
    ),
  );
}