Closed (outdated)
Project:
Drupal core
Version:
7.x-dev
Component:
user.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
25 Nov 2010 at 02:31 UTC
Updated:
16 Oct 2015 at 17:35 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
mlncn commentedThis exciting patch adds a docblock for the user_login_block function, including the @ingroup forms label. Per form documentation, "All modules should declare their form builder functions to be in this group".
Comment #2
mlncn commentedActually, reading the rest of that directive "and each builder function should reference its validate and submit functions using @see." ... here that is for user_login() and user_login_block().
Comment #3
mr.baileysOther than that this looks good.
Powered by Dreditor.
Comment #4
mlncn commentedMy usage is copied directly from the user_login form; should i update that to the current convention to keep everything consistent?
Comment #5
mr.baileysYup.
If I understand correctly, the correct approach is to not change existing Doxygen blocks when guidelines change, except when you're making edits to such a block, in which case it's brought back in line with new guidelines in it's entirety.
So in this case both
user_loginanduser_login_blockshould use the "Form builder for..." form.Comment #6
chrisfree commentedMy first core patch submission! I was digging through the user module trying to sort out another issue and found that this function had no documentation. Here's a patch that, I think follows the proper API documentation standards.
Comment #9
chrisfree commentedComment #10
cilefen commentedI think we usually tag it this way, but it may not matter.
Comment #11
chrisfree commented@cilefen - ahhh! Thanks for the tip.
Comment #12
chrisfree commentedBump.
Comment #13
chrisfree commentedAnyone have time to review this?