Commit 2352a0b5 authored by Dries's avatar Dries

- Patch #265265 by jhodgdon, neochief: phpdoc fix.

parent e42450e4
......@@ -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'])) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment