Download & Extend

Incorrect function reference in hook_field_formatter_info_alter() documentation

Project:Drupal core
Version:8.x-dev
Component:documentation
Category:bug report
Priority:minor
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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

Comments

#1

Status:active» needs review

Here's a patch that addresses these changes.

AttachmentSizeStatusTest resultOperations
incorrect_function_reference-1785392-1.patch649 bytesIdleFAILED: [[SimpleTest]]: [MySQL] 41,306 pass(es), 1 fail(s), and 0 exception(s).View details

#2

Status:needs review» needs work

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

#3

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.

#4

Status:reviewed & tested by the community» fixed

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

#5

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 :)

#6

Status:fixed» closed (fixed)

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

nobody click here