Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I'm submitting a very easy patch for achieving compatibility with the Media module. This is necessary because Media CCK fields are always detected as not empty.
Comment | File | Size | Author |
---|---|---|---|
#3 | field_group-7.x-1.x-dev-Media_module_compatibility.patch | 500 bytes | nicolabeghin |
field_group-7.x-1.x-dev-Media_module_compatibility.patch | 239 bytes | nicolabeghin |
Comments
Comment #1
nicolabeghin CreditAttribution: nicolabeghin commentedIt needs to check for the existence of the key array. I'll try to add it tomorrow
Comment #2
swentel CreditAttribution: swentel commentedThis is not fieldgroup's responsibility. Same kind of reports are in the queue of ds,possibly soon in panels/ctools as well. Media should fix this, not others.
Comment #3
nicolabeghin CreditAttribution: nicolabeghin commentedswentel I understand your point but at the moment it's the easiest way to solve the problem (also because I looked at the code that the Media module generate and it seems completely empty).
I'm attaching an improved version, hope it can help anyone in my situation
Comment #4
swentel CreditAttribution: swentel commentedAs again, modules providing Field API fields need are responsible.