You are here

public function FormState::__sleep in Little helpers 7

File

src/Webform/FormState.php, line 78

Class

FormState
Class for making webform component values before an submission is saved.

Namespace

Drupal\little_helpers\Webform

Code

public function __sleep() {
  throw new \Exception('FormState objects cannot be serialized as they would lose their reference to the form_state.');
}