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.
API page: http://api.drupal.org/api/drupal/core%21modules%21field%21field.info.inc...
Enter a descriptive title (above) relating to field_info_field, then describe the problem you have found:
I can *see* that on failure I will get a NULL, but the PHPDoc is missing it.
Comment | File | Size | Author |
---|---|---|---|
#3 | field_info_field-does-not-1689394-3.patch | 584 bytes | mjonesdinero |
#1 | added_Return_message.patch | 683 bytes | ro-no-lo |
Comments
Comment #1
ro-no-lo CreditAttribution: ro-no-lo commentedNot sure if the *.patch files have a standard format. I created this one with hg and phpstorm.
Comment #2
jhodgdonThanks for the patch! It isn't quite the right format -- you need to use Git to make a patch, and when uploading, set the issue status to "needs review" to trigger both human and test-bot reviewers that you have made a patch.
See http://drupal.org/node/707484 , or http://drupal.org/novice if you need more extensive help in getting started as a Drupal Core contributor.
Meanwhile, perhaps someone can re-roll this patch? Please also put "the" in "NULL if *the* field was not found." :)
Comment #3
mjonesdinero CreditAttribution: mjonesdinero commentedattach is the re-rolled patch
Comment #4
jhodgdonThanks! Committed to 7.x and 8.x.