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.
The field_update_instance has a small issue on the documentation page: https://api.drupal.org/api/drupal/modules%21field%21field.crud.inc/funct...
It's explained in the second comment: https://api.drupal.org/comment/53913#comment-53913
I think it will be nice if it's fixed, so the people don't have to read the comments.
Attaching patch on next comment.
Comment | File | Size | Author |
---|---|---|---|
#1 | 2226689.patch | 548 bytes | David Hernández |
Comments
Comment #1
David Hernández CreditAttribution: David Hernández commentedPatch attached.
Comment #2
jhodgdonThis is a duplicate of #2054189: 'definition' key does not exist in the array returned by field_info_instance(). Update docs.
If you would like to go to that issue and review or provide a new patch, that would be great. Thanks!