Problem/Motivation

Currently, there is no easy way to alter the display settings for a field that is rendered with Ctools. The reason why, is because hook_field_display_alter() is not invoked when a field is rendered through Ctools.

Proposed resolution

Invoke hook_field_display_alter() in ctools_entity_field_content_type_render() so the display settings can be altered easily.

Remaining tasks

  • Write Patch

API changes

hook_field_display_alter() will now be invoked on Ctools fields were previously it was not. This could cause some problems, but if people need to change this, they are probably using other methods anyways.

Comments

davidwbarratt created an issue.