Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
documentation
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
9 Mar 2011 at 07:22 UTC
Updated:
29 Jul 2014 at 19:25 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
jhodgdonYes, that's accurate. I agree that get_t() should contain the above information. It also needs to be updated to the doxygen standards. Needs a patch! Good project for a novice doc contributor...
Comment #2
drewish commentedComment #3
jhodgdonLooks good to me! Setting to d7 so the test bot can test it. Should be applied to both 7 and 8.
Comment #4
jhodgdonNeeds to go to d8 and then d7
Comment #5
aspilicious commentedI needed this information one month ago... *sigh*
Comment #6
mr.baileysPatch looks great to me, couple of remarks/questions:
The one-line summary should be third person;
@returnblock?t()to explain the install-time exception and point to theget_t()documentation + add@see get_t()directive?Setting to needs work for A (sorry, nitpicking…).
Powered by Dreditor.
Comment #7
mile23I'm tempted to try to write one wrapper function for the whole complicated thing. :-)
But instead I'll document it the way I wish it had been when I needed it.
Comment #8
mile23Comment #9
mr.baileysThanks, looks good to me.
The single-wrapper approach was considered when
get_t()was introduced, but rejected due to the performance impact (#75002-32: Install-time and run-time requirements checking).Comment #10
dries commentedCommitted to 7.x and 8.x. This was long overdue -- really helpful for newbies. Thanks!