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.

CommentFileSizeAuthor
#1 2226689.patch548 bytesDavid Hernández
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

David Hernández’s picture

Assigned: David Hernández » Unassigned
Status: Active » Needs review
FileSize
548 bytes

Patch attached.

jhodgdon’s picture

This 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!