Plugin system for field- and entity export

Created on 10 March 2023, almost 2 years ago
Updated 22 July 2024, 5 months ago

Problem/Motivation

During dependency detection, entity export, migration plugin generation etc, it is (unfortunately) necessary to perform each operation differently based on the type of the actual entity, based on the type of the exported field, etc. In 1.x, this is managed directly in ExportPluginBase or in JsonFiles, by hard-coding the exceptional cases:

This is extremely hard to maintain, makes extending the API nearly impossible if anyone wants to export a custom content entity (or something that's not an entity, but should be handled like an entity, like poll votes for example).

Proposed resolution

Create plugin system for:
* Managing field value export (FieldValueExporter plugins).
* Handle exceptional, entity-specific cases (Exportable plugins).

API changes

Yes, will be documented in the last sub-task of [#3459831}

πŸ“Œ Task
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡­πŸ‡ΊHungary huzooka Hungary πŸ‡­πŸ‡ΊπŸ‡ͺπŸ‡Ί

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