D7's pattern is to provide a drupal_alter(), so implementing modules can alter the definitions.
Patch will follow.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 1916988-conditional-fields-alter-3.patch | 666 bytes | NofarG |
| #1 | 1916988-conditional-fields-alter-1.patch | 1.85 KB | amitaibu |
Comments
Comment #1
amitaibuAttached.
Comment #2
NofarG commentedThe alter hook is already provided by features. See features_get_default()
Comment #3
NofarG commentedNew patch attached.
Comment #4
djdevinSeems to be fine in D6 too. Same code.
Comment #5
damienmckennaThis is the correct approach.
Comment #6
hefox commentedditto, patch looks good
Comment #7
peterpoe commentedCommitted, thanks!