Problem/Motivation

#3535199: Saving untrusted config results in memory leak fixes a memory leak due to the \Drupal\Core\Config\StorableConfigBase::$schemaWrapper property. But we can refactor \Drupal\Core\Config\StorableConfigBase::castValue() so we don't need to store it as a property.

Proposed resolution

Add the schema wrapper as an argument to castValue() and do not store it as a property.

Remaining tasks

User interface changes

None

Introduced terminology

N/a

API changes

TBD

Data model changes

None

Release notes snippet

N/a

Issue fork drupal-3535277

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

alexpott created an issue. See original summary.

Version: 11.x-dev » main

Drupal core is now using the main branch as the primary development branch. New developments and disruptive changes should now be targeted to the main branch.

Read more in the announcement.