comparison modules/node/node.install @ 15:4347c45bb494 6.7

Drupal 6.7
author Franck Deroche <webmaster@defr.org>
date Tue, 23 Dec 2008 14:32:44 +0100
parents fff6d4c8c043
children 3edae6ecd6c6
comparison
equal deleted inserted replaced
14:626fcabfa4b8 15:4347c45bb494
1 <?php 1 <?php
2 // $Id: node.install,v 1.4.2.1 2008/04/15 08:39:40 dries Exp $ 2 // $Id: node.install,v 1.4.2.2 2008/12/10 21:24:43 goba Exp $
3 3
4 /** 4 /**
5 * Implementation of hook_schema(). 5 * Implementation of hook_schema().
6 */ 6 */
7 function node_schema() { 7 function node_schema() {
256 'type' => 'varchar', 256 'type' => 'varchar',
257 'length' => 255, 257 'length' => 255,
258 'not null' => TRUE, 258 'not null' => TRUE,
259 'default' => ''), 259 'default' => ''),
260 'module' => array( 260 'module' => array(
261 'description' => t('The module that implements this type.'), 261 'description' => t('The base string used to construct callbacks corresponding to this node type.'),
262 'type' => 'varchar', 262 'type' => 'varchar',
263 'length' => 255, 263 'length' => 255,
264 'not null' => TRUE), 264 'not null' => TRUE),
265 'description' => array( 265 'description' => array(
266 'description' => t('A brief description of this type.'), 266 'description' => t('A brief description of this type.'),