D7's pattern is to provide a drupal_alter(), so implementing modules can alter the definitions.
Patch will follow.

Comments

Status:Active» Needs review
StatusFileSize
new1.85 KB

Attached.

Status:Needs review» Closed (works as designed)

The alter hook is already provided by features. See features_get_default()

Status:Closed (works as designed)» Needs review
StatusFileSize
new666 bytes

New patch attached.

Seems to be fine in D6 too. Same code.

Status:Needs review» Reviewed & tested by the community

This is the correct approach.

ditto, patch looks good

Title:provide an alter hook for conditional_fields_default_fields()Use features_get_default() in conditional_fields_features_rebuild() instead of custom hook
Issue summary:View changes
Status:Reviewed & tested by the community» Fixed

Committed, thanks!

Status:Fixed» Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.