The documentation for the hook_field_formatter_info_alter() function says of the $info parameter:

Array of informations on formatter types exposed by hook_field_field_formatter_info() implementations.

I believe this should instead reference the function hook_field_formatter_info(). It could also use some changes to the grammar...

CommentFileSizeAuthor
#1 incorrect_function_reference-1785392-1.patch649 bytesAnonymous (not verified)

Comments

Anonymous’s picture

Status: Active » Needs review
StatusFileSize
new649 bytes

Here's a patch that addresses these changes.

Status: Needs review » Needs work

The last submitted patch, incorrect_function_reference-1785392-1.patch, failed testing.

jhodgdon’s picture

Status: Needs work » Reviewed & tested by the community

Looks good, thanks for the report and patch! (The test failure above is being worked on on another issue and is unrelated to this docs-only patch). I'll get this committed shortly.

jhodgdon’s picture

Status: Reviewed & tested by the community » Fixed

Committed to 7.x and 8.x. Thanks again!

Anonymous’s picture

The test failure above is being worked on on another issue and is unrelated to this docs-only patch.

Thanks for the explanation! I was wondering what I could have messed up with such a simple patch :)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.