From ec125c0a17d5388766fa650f7bad9a61ba9ff9f1 Mon Sep 17 00:00:00 2001 From: webchick <webchick@24967.no-reply.drupal.org> Date: Mon, 30 May 2011 21:07:26 -0700 Subject: [PATCH] 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(-) diff --git a/modules/field/field.api.php b/modules/field/field.api.php index 9c52d24ef6a7..fae598d928d6 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, ), ); -- GitLab