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.
_field_info_prepare_instance calls the function field_info_field_types, but its return value is never used. field_info_field_types does not appear to make any state changes on its own (aside from storing its result in a cache), so this appears to serve no purpose.
Comment | File | Size | Author |
---|---|---|---|
#4 | remove_call-2_1067806.patch | 526 bytes | starsinmypockets |
Comments
Comment #1
yched CreditAttribution: yched commentedTrue. Probably a leftover after some refactoring. Care to roll a patch ? :-)
Comment #2
yched CreditAttribution: yched commentedComment #3
starsinmypockets CreditAttribution: starsinmypockets commentedHere's the patch... this is my first submitted patch does this look ok?
Comment #4
starsinmypockets CreditAttribution: starsinmypockets commentedSorry, the last patch introduced some whitespace. This one doesn't.
Comment #5
RobLoachNice work on the patch :-) . Webchick won't commit anything unless it's in the Drupal 8.x branch first though. Looking at the code, the patch should be okay to go. Let's check with the Test Bot!
Comment #6
starsinmypockets CreditAttribution: starsinmypockets commentedComment #7
Dries CreditAttribution: Dries commentedCommitted to 7.x and 8.x.