Mercurial > defr > drupal > core
comparison modules/node/node.install @ 7:fff6d4c8c043 6.3
Drupal 6.3
author | Franck Deroche <webmaster@defr.org> |
---|---|
date | Tue, 23 Dec 2008 14:30:28 +0100 |
parents | c1f4ac30525a |
children | 4347c45bb494 |
comparison
equal
deleted
inserted
replaced
6:2cfdc3c92142 | 7:fff6d4c8c043 |
---|---|
1 <?php | 1 <?php |
2 // $Id: node.install,v 1.4 2007/12/18 12:59:21 dries Exp $ | 2 // $Id: node.install,v 1.4.2.1 2008/04/15 08:39:40 dries 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() { |
30 'type' => 'varchar', | 30 'type' => 'varchar', |
31 'length' => 12, | 31 'length' => 12, |
32 'not null' => TRUE, | 32 'not null' => TRUE, |
33 'default' => ''), | 33 'default' => ''), |
34 'title' => array( | 34 'title' => array( |
35 'description' => t('The title of this node, always treated a non-markup plain text.'), | 35 'description' => t('The title of this node, always treated as non-markup plain text.'), |
36 'type' => 'varchar', | 36 'type' => 'varchar', |
37 'length' => 255, | 37 'length' => 255, |
38 'not null' => TRUE, | 38 'not null' => TRUE, |
39 'default' => ''), | 39 'default' => ''), |
40 'uid' => array( | 40 'uid' => array( |
61 'description' => t('Whether comments are allowed on this node: 0 = no, 1 = read only, 2 = read/write.'), | 61 'description' => t('Whether comments are allowed on this node: 0 = no, 1 = read only, 2 = read/write.'), |
62 'type' => 'int', | 62 'type' => 'int', |
63 'not null' => TRUE, | 63 'not null' => TRUE, |
64 'default' => 0), | 64 'default' => 0), |
65 'promote' => array( | 65 'promote' => array( |
66 'description' => t('Boolean indicating whether the node should displayed on the front page.'), | 66 'description' => t('Boolean indicating whether the node should be displayed on the front page.'), |
67 'type' => 'int', | 67 'type' => 'int', |
68 'not null' => TRUE, | 68 'not null' => TRUE, |
69 'default' => 0), | 69 'default' => 0), |
70 'moderate' => array( | 70 'moderate' => array( |
71 'description' => t('Previously, a boolean indicating whether the node was "in moderation"; mostly no longer used.'), | 71 'description' => t('Previously, a boolean indicating whether the node was "in moderation"; mostly no longer used.'), |