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.
ctools_field_invoke_field() needs a fairly minor update to handle items that are pretending to be entities but actually aren't. This is very useful from an administrative standpoint when we'd like to render a field all by itself without having to have a real entity handy.
Comment | File | Size | Author |
---|---|---|---|
fields-inc.patch | 1.68 KB | EclipseGc |
Comments
Comment #1
merlinofchaos CreditAttribution: merlinofchaos commentedComment #2
EclipseGc CreditAttribution: EclipseGc commentedCommitted
Comment #4
merlinofchaos CreditAttribution: merlinofchaos commentedI had to revert this patch. It made it so that ctools_field_invoke was not working on new entity objects the way _field_invoke does.
Comment #5
EclipseGc CreditAttribution: EclipseGc commentedSince I could reproduce the errors I originally had for filing this patch after it got reverted, I'm closing it.