Add an eventlistener to update module config when an entity type is created

Created on 14 March 2025, 23 days ago

Problem/Motivation

The module's config in our site was outdated, producing some warnings about missing keys in configuration, specifically under reading_time.container. After we re-saved the config, the errors went away

Steps to reproduce

Proposed resolution

Add an event subscriber to listen to this event \Drupal\Core\Entity\EntityTypeEvents::CREATE and whenever a node type is created, update the configuration, with disabled functionality

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Active

Version

1.0

Component

Code

Created by

🇬🇷Greece dimitriskr

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

Comments & Activities

Production build 0.71.5 2024