You are here

protected property AutosaveFormBuilder::$doBuildFormSkip in Autosave Form 8

Controls whether to execute ::doBuildForm or not.

If set to FALSE the normal form processing will run, otherwise if set to TRUE doBuildForm will not be executed. This is useful in the use case where we don't need the processed form like in e.g. autosave submit after having already at least one autosave state, from which point we don't need the form state values, but only the user input and the last cached form state.

Type: bool

File

src/Form/AutosaveFormBuilder.php, line 60

Class

AutosaveFormBuilder
Provides form building and processing with AutosaveForm enabled.

Namespace

Drupal\autosave_form\Form

Code

protected $doBuildFormSkip = FALSE;