Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The D7 doc header for user_load has some formatting issues around @code and @link.
- The @code is inline, but API module always sets @code sections not inline; I think the @code/@endcode should be omitted.
- The @link I think needs to be all on one line for the API module to recognize it. I'm not sure about that, but it's not being recognized currently. See
#847322: @link should be recognized even if it crosses a line boundary
(issue on the API module discussing this issue)
Comment | File | Size | Author |
---|---|---|---|
#10 | 847324-10.patch | 1.03 KB | jhodgdon |
#4 | 847324.patch | 960 bytes | jhodgdon |
#1 | 847324.patch | 953 bytes | yang_yi_cn |
Comments
Comment #1
yang_yi_cn CreditAttribution: yang_yi_cn commentedthis patch fixes the @link issue
Comment #2
yang_yi_cn CreditAttribution: yang_yi_cn commentedthis line changed
Powered by Dreditor.
Comment #3
jhodgdonYeah, this patch doesn't fix the issues identified in the issue report. The @code was not removed.
Comment #4
jhodgdonHere's a patch that removes the @code tags, as they are unnecessary IMO.
The API module should take care of the @link problem.
Comment #5
jhodgdon#4: 847324.patch queued for re-testing.
Comment #6
jhodgdon#4: 847324.patch queued for re-testing.
Comment #7
jhodgdon#4: 847324.patch queued for re-testing.
Comment #9
jhodgdonRe-roll time...
Comment #10
jhodgdonHere's a new patch. I moved the @link to its own line, which goes past 80 characters but at least should format correctly this way.
Comment #11
marcingy CreditAttribution: marcingy commentedLooks good
Comment #12
Dries CreditAttribution: Dries commentedCommitted to CVS HEAD. Thanks.