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

Drupal example source code file (translation_test.module)

This example Drupal source code file (translation_test.module) 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

function, nid, node, php, translation_test_node_insert

The translation_test.module Drupal example source code

// $Id: translation_test.module,v 1.1 2010/10/09 03:22:30 webchick Exp $

 * @file
 * Mock module for content translation tests.

 * Implements hook_node_insert().
function translation_test_node_insert($node) {
  drupal_write_record('node', $node, 'nid');

Other Drupal examples (source code examples)

Here is a short list of links related to this Drupal translation_test.module 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.