You are here

rdf_test_namespaces.module in Drupal 9

Test the namespace registration functionality.

File

core/modules/rdf/tests/rdf_test_namespaces/rdf_test_namespaces.module
View source
<?php

/**
 * @file
 * Test the namespace registration functionality.
 */

/**
 * Implements hook_rdf_namespaces().
 */
function rdf_test_namespaces_rdf_namespaces() {
  return [
    'foaf' => 'http://xmlns.com/foaf/0.1/',
    'foaf1' => 'http://xmlns.com/foaf/0.1/',
  ];
}

Functions