Contact emails are stored as content, not configuration.

Created on 29 November 2021, about 3 years ago
Updated 1 February 2024, 11 months ago

I don't understand the statement "Contact emails are stored as content, not configuration."

This means the emails themselves are stored as content? Or the configuration of the Contact emails module?

I cannot find and export the contact email config? I want to be able to deploy this between sites (dev, test, live), but there is not content type for this if the config is stored as content?

πŸ’¬ Support request
Status

Closed: works as designed

Version

1.20

Component

Documentation

Created by

πŸ‡¬πŸ‡§United Kingdom matt b

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.

  • πŸ‡ΊπŸ‡¦Ukraine AstonVictor

    Hi @Matt B,

    Contact emails are entities that cannot be exported as configs. So, you can have different entities in different environments.

    in your case, you can try to use Default Content β†’ modules that allow you to save content entities to the content folder of your custom module. for importing/exporting entities, you can use Drush commands from that module.
    or you can find other contrib solutions.

Production build 0.71.5 2024