rdf_test_namespaces.module

Same filename in other branches
  1. 8.9.x core/modules/rdf/tests/rdf_test_namespaces/rdf_test_namespaces.module

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

Title Deprecated Summary
rdf_test_namespaces_rdf_namespaces Implements hook_rdf_namespaces().

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.