Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
documentation
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Apr 2011 at 18:31 UTC
Updated:
29 Jul 2014 at 19:29 UTC
Jump to comment: Most recent file
Comments
Comment #1
kim-day commentedHere's a patch
Comment #2
jhodgdonThis doc addition seems like a reasonable idea.
The patch needs a small amount of work:
a) There are spaces at the ends of a few lines - those need to be removed.
b) I'm not sure what "custom code" is as opposed to other types of code? I think you could just say "After calling this function, rebuild...".
c) It would be nice to bring this documentation up to standards while you're in here, by also fixing the first line: Save -> Saves.
d) And maybe it would also be nice to fix up the @param section to something like this:
See http://drupal.org/node/1354#lists and http://drupal.org/node/1354#functions for (d) and (c) respectively.
Thanks!
Comment #3
jn2 commentedHere's a patch incorporating suggestions from comment #2.
Comment #4
kim-day commentedThanks jhodgdon for the detailed feedback and jn2 for making the changes. The patch works correctly so I'm marking rtbc.
Comment #5
jhodgdon+1 for RTBC for d8 and d7. Thanks kim-day and jn2!
Comment #6
dries commentedThanks for the clarifications. Committed to 7.x and 8.x.