Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
API page: http://api.drupal.org/api/drupal/modules--field--field.crud.inc/function...
'@throw' should be '@throws', and the exception class should probably be on the same line too?
There are three instances of this in modules/field/field.crud.inc.
Comment | File | Size | Author |
---|---|---|---|
#5 | 1345152-field_create_field_documentation.patch | 1.06 KB | chris.leversuch |
#1 | field_create_field_Documentation_1345152_1.patch | 969 bytes | Zgear |
Comments
Comment #1
Zgear CreditAttribution: Zgear commentedWill this do?
Comment #2
Zgear CreditAttribution: Zgear commentedComment #3
jhodgdonThanks! This is nearly perfect. The only thing is that there should be only one space between @throws and the exception name. See http://drupal.org/node/1354#classes for standards. Also a blank line should be left between the @return documentation and the @throws.
Comment #4
jhodgdonComment #5
chris.leversuch CreditAttribution: chris.leversuch commentedIs this patch suitable?
Comment #6
jhodgdonYes, that's it -- thanks!
Comment #7
Dries CreditAttribution: Dries commentedCommitted to 8.x and backported to 7.x. Marking 'fixed'. Thanks.