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...

Files: 
CommentFileSizeAuthor
#1 incorrect_function_reference-1785392-1.patch649 bytesBWPanda
FAILED: [[SimpleTest]]: [MySQL] 41,306 pass(es), 1 fail(s), and 0 exception(s).
[ View ]

Comments

BWPanda’s picture

Status:Active» Needs review
StatusFileSize
new649 bytes
FAILED: [[SimpleTest]]: [MySQL] 41,306 pass(es), 1 fail(s), and 0 exception(s).
[ View ]

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!

BWPanda’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.