HEX
Server: Apache
System: Linux dev.epsylon.net 3.10.0-1160.144.1.el7.tuxcare.els2.x86_64 #1 SMP Sun Feb 15 11:22:42 UTC 2026 x86_64
User: nexper (1054)
PHP: 8.2.30
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/nexper/public_html/modules/rdf/tests/rdf_test.install
<?php

/**
 * @file
 * Install, update and uninstall functions for the rdf module.
 */

/**
 * Implements hook_install().
 */
function rdf_test_install() {
  $rdf_mappings = array(
    array(
      'type' => 'node',
      'bundle' => 'test_bundle_hook_install',
      'mapping' => array(
        'rdftype' => array('foo:mapping_install1', 'bar:mapping_install2'),
      ),
    ),
  );

  foreach ($rdf_mappings as $rdf_mapping) {
    rdf_mapping_save($rdf_mapping);
  }
}