form_state_keys_no_cache

  1. drupal
    1. 8
    2. 7
Versions
7 – 8 form_state_keys_no_cache()

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

Related topics

▾ 2 functions call form_state_keys_no_cache()

drupal_build_form in includes/form.inc
Build and process a form based on a form id.
form_set_cache in includes/form.inc
Store a form in the cache.

Code

includes/form.inc, line 538

<?php
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',
  );
}
?>