home | career | drupal | java | mac | mysql | perl | php | scala | uml | unix

Drupal example source code file (rdf_test.install)

This example Drupal source code file (rdf_test.install) is included in the DevDaily.com "Drupal Source Code Warehouse" project. The intent of this project is to help you "Learn Drupal by Example".

PHP - Drupal tags/keywords

array, as, bar:mapping_install2, bundle, foreach, function, node, php, rdf_mapping, rdf_mapping_save, rdf_mappings, rdf_test_install, test_bundle_hook_install, type

The rdf_test.install Drupal example source code

// $Id: rdf_test.install,v 1.3 2009/12/04 16:49:47 dries Exp $

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

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

  foreach ($rdf_mappings as $rdf_mapping) {

Other Drupal examples (source code examples)

Here is a short list of links related to this Drupal rdf_test.install source code file:

new blog posts

"Drupal" is a registered trademark of Dries Buytaert.

my drupal tutorials and examples  

Copyright 1998-2016 Alvin Alexander, alvinalexander.com
All Rights Reserved.

Beginning in 2016, a portion of the proceeds from pages under the '/drupal-code-examples/' URI will be donated to charity.