summaryrefslogtreecommitdiff
path: root/modules/field/field.api.php
diff options
context:
space:
mode:
authorwebchick <webchick@24967.no-reply.drupal.org>2011-05-30 21:07:39 -0700
committerwebchick <webchick@24967.no-reply.drupal.org>2011-05-30 21:07:39 -0700
commita8dc7a1d5014aa4ec048bce3b2f53f56439007d5 (patch)
treef5e049c37094ec0eea86c8fc5d989782b2232c42 /modules/field/field.api.php
parent70ec086e994b88fa7d43d74bdac21a3dbf23b435 (diff)
downloadbrdo-a8dc7a1d5014aa4ec048bce3b2f53f56439007d5.tar.gz
brdo-a8dc7a1d5014aa4ec048bce3b2f53f56439007d5.tar.bz2
Issue #1138040 by barbi: Fixed hook_field_shema() doc has incorrect field type in format in example.
Diffstat (limited to 'modules/field/field.api.php')
-rw-r--r--modules/field/field.api.php4
1 files changed, 2 insertions, 2 deletions
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,
),
);