function form_state_defaults
form_state_defaults()
Retrieves default values for the $form_state array.
Related topics
File
- includes/form.inc, line 402
- Functions for form and batch generation and processing.
Code
function form_state_defaults() { return array( 'rebuild' => FALSE, 'rebuild_info' => array(), 'redirect' => NULL, // @todo 'args' is usually set, so no other default 'build_info' keys are // appended via += form_state_defaults(). 'build_info' => array( 'args' => array(), 'files' => array(), ), 'temporary' => array(), 'submitted' => FALSE, 'executed' => FALSE, 'programmed' => FALSE, 'programmed_bypass_access_check' => TRUE, 'cache' => FALSE, 'method' => 'post', 'groups' => array(), 'buttons' => array(), ); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!form.inc/function/form_state_defaults/7.x