You are here

function user_rdf_mapping in Drupal 7

Implements hook_rdf_mapping().

File

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