summaryrefslogtreecommitdiff
path: root/modules/poll/poll.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-01-05 18:56:49 +0000
committerDries Buytaert <dries@buytaert.net>2010-01-05 18:56:49 +0000
commit102a68291417b6cc7a3556c4d1ee0697a9445988 (patch)
tree441b91254200686876964cfefe3ebebc2a7aec6b /modules/poll/poll.module
parent8691c9f2e8c6076dc689dc4fc691b97f4a01f699 (diff)
downloadbrdo-102a68291417b6cc7a3556c4d1ee0697a9445988.tar.gz
brdo-102a68291417b6cc7a3556c4d1ee0697a9445988.tar.bz2
- Patch #652588 by scor: updated RDF mapping definition in the core modules.
Diffstat (limited to 'modules/poll/poll.module')
-rw-r--r--modules/poll/poll.module14
1 files changed, 14 insertions, 0 deletions
diff --git a/modules/poll/poll.module b/modules/poll/poll.module
index 42d7afc68..289d4b8ba 100644
--- a/modules/poll/poll.module
+++ b/modules/poll/poll.module
@@ -910,3 +910,17 @@ function poll_user_cancel($edit, $account, $method) {
}
}
+/**
+ * Implements hook_rdf_mapping().
+ */
+function poll_rdf_mapping() {
+ return array(
+ array(
+ 'type' => 'node',
+ 'bundle' => 'poll',
+ 'mapping' => array(
+ 'rdftype' => array('sioc:Post', 'sioct:Poll'),
+ ),
+ ),
+ );
+}