The FAPI docs say #method should be either GET or POST, but all Drupal core code assumes all lowercase values.

Ideally I think we want to convert the code for Drupal 8 to use uppercase values, but for Drupal 7 we will need to update the API documentation.

CommentFileSizeAuthor
#1 documentation_1818406_00.patch716 bytesxano

Comments

xano’s picture

StatusFileSize
new716 bytes

Patch for Drupal 8 that fixes the documentation. Should work for Drupal 7 as well.

Anonymous’s picture

Status: Active » Needs review

Here testbot.

Status: Needs review » Needs work

The last submitted patch, documentation_1818406_00.patch, failed testing.

jhodgdon’s picture

Project: Drupal core » Documentation
Version: 8.x-dev »
Component: documentation » API documentation files
Issue tags: +FAPI reference

FAPI reference is in the documentation repo

xano’s picture

Assigned: xano » Unassigned
Status: Needs work » Needs review

Unassigning and requesting re-test.

jhodgdon’s picture

Status: Needs review » Fixed

Thanks! Committed to the 8.x and 7.x versions of the FAPI reference.

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