function user_rdf_mapping

cis7 user.module user_rdf_mapping()
cle7 user.module user_rdf_mapping()
elmsmedia7 user.module user_rdf_mapping()
icor7 user.module user_rdf_mapping()
meedjum_blog7 user.module user_rdf_mapping()
mooc7 user.module user_rdf_mapping()

Implements hook_rdf_mapping().

File

modules/user/user.module, line 3978
Enables the user registration and login system.

Code

function user_rdf_mapping() {
  return array(
    array(
      'type' => 'user',
      'bundle' => RDF_DEFAULT_BUNDLE,
      'mapping' => array(
        'rdftype' => array('sioc:UserAccount'),
        'name' => array(
          'predicates' => array('foaf:name'),
        ),
        'homepage' => array(
          'predicates' => array('foaf:page'),
          'type' => 'rel',
        ),
      ),
    ),
  );
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.