Save config in config, not in state

Created on 25 October 2021, about 3 years ago
Updated 11 September 2024, 3 months ago

How is the node_auto_expire configuration managed? I configured the expiration settings for my basic article content type but I don't find a way to export the configuration (I looked in node_auto_expire.settings as well in the basic article content type configuration).

As per the code, it seems using the states API instead of config API to handle the config.

Should we have the entire module config in a unique config file (simple) or should we move to something like scheduler (configure only the generic settings - messages body, bcc - in the module settings and the per content type settings part of the content type edit form).

📌 Task
Status

Active

Version

1.0

Component

Code

Created by

🇫🇷France vbouchet

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.

  • 🇨🇦Canada sagesolutions

    I agree, config should be saved in the configuration, not in the state. This will be helpful for importing and exporting across environments.

Production build 0.71.5 2024