New API for config_provider modelled after the new CMI2 config transformation API

Created on 30 May 2020, almost 5 years ago
Updated 7 March 2025, 27 days ago

Problem/Motivation

CMI 2.0 β†’ produced on a new API for managing config, better than config_filter and the parallel approaches here in config_provider, at the very least for the developer experience. See the change notice #3066005 β†’

Proposed resolution

In a new 3.x branch, replace our plugin architecture with a Drupal\config_distro\ProviderStorageTransformEvent modelled on the parallel one in core.

We can make use of many of the other classes that come with 8.8+.

Remaining tasks

An initial rough and incomplete idea:

  • Create new event, extending the core event.
  • Create a ProviderStorageManager in the image of the Drupal\Core\Config\ExportStorageManager.
  • Convert our existing plugins to event subscribers.

User interface changes

None

API changes

Events instead of plugins

Data model changes

None.

Release notes snippet

New event based API inspired by CMI 2.0 replacing the current plugins.

πŸ“Œ Task
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada nedjo

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

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024