diff options
Diffstat (limited to 'modules/user')
-rw-r--r-- | modules/user/user.module | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/modules/user/user.module b/modules/user/user.module index cf10cfe34..424916ef4 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -3255,3 +3255,21 @@ function user_cookie_save(array $values, array $fields = array('name', 'mail', ' } } } + +/** + * Implementation of hook_rdf_mapping(). + */ +function user_rdf_mapping() { + return array( + array( + 'type' => 'user', + 'bundle' => RDF_DEFAULT_BUNDLE, + 'mapping' => array( + 'rdftype' => array('sioc:User'), + 'name' => array( + 'predicates' => array('foaf:name'), + ), + ), + ), + ); +} |