summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDries Buytaert2009-06-18 15:48:13 +0000
committerDries Buytaert2009-06-18 15:48:13 +0000
commit2352a0b5ed1056f773dbabbbcf6c3adc08af5bc9 (patch)
tree487085b73eb5cd55fb4b16a4527a20c3caf2e637
parente42450e4ad82c2359332748784e0211db7495b91 (diff)
- Patch #265265 by jhodgdon, neochief: phpdoc fix.
-rw-r--r--includes/form.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/includes/form.inc b/includes/form.inc
index fe7aba8..5ddec74 100644
--- a/includes/form.inc
+++ b/includes/form.inc
@@ -346,6 +346,7 @@ function form_set_cache($form_build_id, $form, $form_state) {
* in here when it is called.
* For example:
*
+ * @code
* // register a new user
* $form_state = array();
* $form_state['values']['name'] = 'robo-user';
@@ -363,6 +364,7 @@ function form_set_cache($form_build_id, $form, $form_state) {
* $form_state['values']['name'] = 'robo-user';
* $form_state['values']['op'] = t('Save');
* drupal_form_submit('story_node_form', $form_state, (object)$node);
+ * @endcode
*/
function drupal_form_submit($form_id, &$form_state) {
if (!isset($form_state['args'])) {