Drupal Answers is a question and answer site for Drupal developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I export the configuration of pseudo fields as set from the display configuration for my entities types and their bundles ? When exporting a normal fields instance (with Features) its display settings, for each available view mode, are exported with it. But I cannot find how to export the settings for the pseudo fields such as the History field of a User entity and the File field for a File entity.

share|improve this question
Pseudo fields isn't quite the right term for that but I'm having a hard time coming up with the right one. – drewish Dec 2 '11 at 14:33
Ah, well core seems to call them "Non-field elements" which isn't super descriptive. Actually I'm wrong, they're also referred to as pseudo-fields. Learned something new. – drewish Dec 2 '11 at 14:42
Does your feature export the content type? It seems like that additional field info is exported on nodes that are "owned" by a feature. – drewish Dec 2 '11 at 14:49
No, the feature-module does export the content type. It depends on several content-type defining modules and configure them to provide a coherent user experience (same fields ordering on edit and view, same image styles, etc.) – Pierre Buyle Dec 3 '11 at 19:18
up vote 7 down vote accepted

Strongarm will do this because field_bundle_settings() stores the settings in a huge variable called field_bundle_settings. There is a patch to move it into several variables, but it'll be variables nonetheless.

Edit: I guess the core source code counts as "official source", doesn't it?

share|improve this answer
FYI, the variable is now split up - e.g. field_bundle_settings_user__user (field_bundle_settings_[entity_type]__[bundle]) – Angry Dan Jul 4 '13 at 13:45

Have you tried Display Suite? It allows for that and much more. It might be overkill, but it just solves your issue AND is exportable in features.

See mortendk post on Display Suite, particularly his slides.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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