Problem/Motivation
Currently, the process of exporting a single configuration on the /admin/config/development/configuration/single/export page involves manually copying changes, searching for the file name in the configurations, and pasting the copied changes—a cumbersome task. This feature request suggests adding a "Download" or "Export" button on the /admin/config/development/configuration/single/export page for improved user/admin convenience. This enhancement would allow users to either directly place/override the selected configuration in the configured configuration folder or download it as a file to their system.
Steps to reproduce
- Navigate to
/admin/config/development/configuration/single/export. - Choose a "Configuration type," such as "Simple Configuration."
- Select a "Configuration name," for example, "node.settings."
- Currently, the only option is to manually copy/paste the changes, with no direct export capability to the configuration folder or download option.
Proposed resolution
- Introduce an
"Export"button that exports the content from the "Here is your configuration:" field to the respective configuration file in the codebase. - Implement a
"Download"button that downloads the content from the "Here is your configuration:" field to the user's computer with the respective configuration file name.
Remaining tasks
To be determined.
User interface changes
To be determined.
API changes
Not applicable.
Data model changes
Not applicable.
Release notes snippet
Not applicable.
Thank you.
Comments
Comment #2
cilefen commentedThis may duplicate or overlap these prior requests.
Comment #3
prashant.c@cilefen
Appreciate the provided links to related issues. The issue https://www.drupal.org/project/drupal/issues/3201567 seems to cover one of the requirements. Another requirement is to include an option like "Export," which would directly export changes to the codebase in the configuration folder if feasible.
However, we may want to wait until other issues are resolved. As of now, I'll mark this as "Postponed."
Thank you.