Allow serializing of the schema_form service

Created on 8 May 2025, 7 days ago

Problem/Motivation

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

Feature request
Status

Active

Version

1.0

Component

Code

Created by

🇦🇲Armenia murz Yerevan, Armenia

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024