Provide default content with the module

Created on 7 April 2025, 11 days ago

Problem/Motivation

Unlike the Default Content contrib module, DefaultContent core's API doesn't create content placed inside the content folder of the module. Currently, the DefaultContent is only utilized by Recipes API, and new content is imported upon the recipe application.

Steps to reproduce

- Create module with content folder and simple content inside that folder.
- Install the module

Proposed resolution

Check if the module ships with default content and create it if the content with the same UUID wasn't found already.

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

Feature request
Status

Active

Version

11.1 🔥

Component

default content system

Created by

🇳🇴Norway zaporylie

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

Comments & Activities

Production build 0.71.5 2024