作者:老葛,北京亚艾元软件有限责任公司,http://www.yaiyuan.com
Text字段用于大块的文本。例如,node_type表中的description字段就是这种类型。Text字段可以不使用默认值。
'description' => array(
'description' => 'A brief description of this type.',
'type' => 'text',
'not null' => TRUE,
'size' => 'medium',
'translatable' => TRUE,
),
其中size的类型可以为tiny、small、medium、big、normal。