Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port Drupal Console config:import:single command so we can import single configuration entities from an existing file. #5619

Closed
trackleft opened this issue Jun 5, 2023 · 2 comments

Comments

@trackleft
Copy link

Is your feature request related to a problem? Please describe.
As a manager of a custom Drupal distribution, which manages configuration in code, sometimes individual sites run into issues with pulling in upstream changes via mechanisms like config_distro, config_sync.

Describe the solution you'd like
A more precise way to import a single config file to override any existing configuration, or missing configuration.

Describe alternatives you've considered

  1. Manually import config via the UI in config_sync for each affected site.
  2. There is a drupal module for this. https://www.drupal.org/project/config_import_single, however it does currently require a patch to be used with Drupal 9.5 and above.

Additional context
https://github.com/hechoendrupal/drupal-console/blob/7027117c82cd8b9d9f3fb89558a088e0575434d3/src/Command/Config/ImportSingleCommand.php#L55

@joeparsons
Copy link

Would love it if this were added to Drush (core) and adding the contrib module weren't necessary.

@weitzman
Copy link
Member

weitzman commented Jun 6, 2023

Done in #5146 and #5543

@weitzman weitzman closed this as completed Jun 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants