Add field formatter settings to all field formats I would like to be able to modify the display of any field formatter. To to this I think the best approach is to add settings to all field display formats. Alternatively, I could create my own field formatter that applies to all field types and then show the default display formats within my own display settings.

For example say I want to have a field display settings checkbox that enables a div around the display of any field.
I've managed to work this out.

hook_field_formatter_info_alter() isn't properly implemented in Drupal 7. There is however the field_formatter_settings module which exposes two hooks:


hook_field_formatter_settings_form_alter()
hook_field_formatter_settings_summary_alter()


https://drupal.org/project/field_formatter_settings

Using the dependent modules (e.g. field_delimiter) as examples I was able to achieve what I needed.