diff options
Diffstat (limited to 'modules/field/field.api.php')
-rw-r--r-- | modules/field/field.api.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/modules/field/field.api.php b/modules/field/field.api.php index 9c52d24ef..ba44c7356 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, ), ); @@ -2136,7 +2136,7 @@ function hook_field_info_max_weight($entity_type, $bundle, $context) { * found in the 'display' key of $instance definitions. * @param $context * An associative array containing: - * - entity_type: The entity type; e.g. 'node' or 'user'. + * - entity_type: The entity type; e.g., 'node' or 'user'. * - field: The field being rendered. * - instance: The instance being rendered. * - entity: The entity being rendered. @@ -2171,7 +2171,7 @@ function hook_field_display_alter(&$display, $context) { * found in the 'display' key of $instance definitions. * @param $context * An associative array containing: - * - entity_type: The entity type; e.g. 'node' or 'user'. + * - entity_type: The entity type; e.g., 'node' or 'user'. * - field: The field being rendered. * - instance: The instance being rendered. * - entity: The entity being rendered. @@ -2198,7 +2198,7 @@ function hook_field_display_ENTITY_TYPE_alter(&$display, $context) { * by pseudo-field names. * @param $context * An associative array containing: - * - entity_type: The entity type; e.g. 'node' or 'user'. + * - entity_type: The entity type; e.g., 'node' or 'user'. * - bundle: The bundle name. * - view_mode: The view mode, e.g. 'full', 'teaser'... */ @@ -2224,7 +2224,7 @@ function hook_field_extra_fields_display_alter(&$displays, $context) { * The instance's widget properties. * @param $context * An associative array containing: - * - entity_type: The entity type; e.g. 'node' or 'user'. + * - entity_type: The entity type; e.g., 'node' or 'user'. * - entity: The entity object. * - field: The field that the widget belongs to. * - instance: The instance of the field. @@ -2256,7 +2256,7 @@ function hook_field_widget_properties_alter(&$widget, $context) { * The instance's widget properties. * @param $context * An associative array containing: - * - entity_type: The entity type; e.g. 'node' or 'user'. + * - entity_type: The entity type; e.g., 'node' or 'user'. * - entity: The entity object. * - field: The field that the widget belongs to. * - instance: The instance of the field. |