Don't create content in install hooks if module is installed during config import

Created on 5 October 2017, over 7 years ago
Updated 17 July 2023, almost 2 years ago

Problem/Motivation

hook_install() cannot be used for content imports in modules because the module cannot rely on default config to be there if they are installed during config import.

Proposed resolution

Add a fallback config import event.

Remaining tasks

Finalise the approach.
Create a patch.

User interface changes

None

API changes

None

Data model changes

None

✨ Feature request
Status

Closed: outdated

Version

11.0 πŸ”₯

Component
InstallΒ  β†’

Last updated 3 days ago

No maintainer
Created by

πŸ‡¨πŸ‡¦Canada jibran Toronto, Canada

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

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