- Issue created by @murz
- Merge request !5Issue #3523301: Allow serializing of the schema_form service → (Merged) created by murz
To store the form state in the storage, it should be serialized. But if it includes a service with other Drupal services, it fails with an error like this:
LogicException: The database connection is not serializable.
To fix this, we should include the Drupal\Core\DependencyInjection\DependencySerializationTrait
Active
1.0
Code