function form_state_keys_no_cache

Returns an array of $form_state keys that shouldn't be cached.

Related topics

2 calls to form_state_keys_no_cache()
drupal_build_form in includes/form.inc
Builds and process a form based on a form id.
form_set_cache in includes/form.inc
Stores a form in the cache.

File

includes/form.inc, line 593

Code

function form_state_keys_no_cache() {
    return array(
        // Public properties defined by form constructors and form handlers.
'always_process',
        'must_validate',
        'rebuild',
        'rebuild_info',
        'redirect',
        'no_redirect',
        'temporary',
        // Internal properties defined by form processing.
'buttons',
        'triggering_element',
        'clicked_button',
        'complete form',
        'groups',
        'input',
        'method',
        'submit_handlers',
        'submitted',
        'executed',
        'validate_handlers',
        'values',
    );
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.