When I navigate to Manage display for any node type that has a standard body field and click on the Teaser tab the default format will be "Summary or trimmed". The default trim length is 600 (characters), but you can change it to whatever you want and Save the new value.

However, I want to know where (i.e. in which table or variable) this value is saved.

(I need this information in order to find out what trim length to use when comments are emailed to users that subscribe to comment notifications. The project specification requests comment notifications to be trimmed to same length as the content type they're attached to.)


1 Answer 1


In Drupal 7, field settings are saved into {field_config_instance} and {field_config} database table.

Trim length for a body field is saved in the data column in the {field_config_instance} table. The data column is stored in BLOB format, so you are not able to see the value of this.

You can use the field_info_instance() function to extract information about a particular field in a particular entity bundle/type:

$body = field_info_instance('node', 'body', 'page');  
  • 1
    I think it would be more accurate to say that {field_config_instance.data} is stored as serialized data in a BLOB, and not binary.
    – mpdonadio
    Commented Oct 26, 2013 at 14:24
  • @MPD, Oh sorry. You are right. Commented Oct 26, 2013 at 14:51
  • 1
    @MPD, I have updated my answer. Commented Oct 26, 2013 at 14:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.