From a8dc7a1d5014aa4ec048bce3b2f53f56439007d5 Mon Sep 17 00:00:00 2001 From: webchick Date: Mon, 30 May 2011 21:07:39 -0700 Subject: Issue #1138040 by barbi: Fixed hook_field_shema() doc has incorrect field type in format in example. --- modules/field/field.api.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/field/field.api.php') diff --git a/modules/field/field.api.php b/modules/field/field.api.php index 9c52d24ef..fae598d92 100644 --- a/modules/field/field.api.php +++ b/modules/field/field.api.php @@ -256,8 +256,8 @@ function hook_field_schema($field) { } $columns += array( 'format' => array( - 'type' => 'int', - 'unsigned' => TRUE, + 'type' => 'varchar', + 'length' => 255, 'not null' => FALSE, ), ); -- cgit v1.2.3