function user_rdf_mapping

Implements hook_rdf_mapping().

File

drupal/core/modules/user/user.module, line 2970
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',
        ),
      ),
    ),
  );
}