Drupal 11 cheatsheet
Drupal 11: Configuration management
5 common Drupal 11 tasks.
Export configuration
Write the site's configuration to files so it can be committed.
vendor/bin/drush config:export
Import configuration
Apply the configuration files to the site.
vendor/bin/drush config:import
Caution: Overwrites the active configuration. Run drush config:status first to see the differences.
See configuration differences
List configuration that differs between the files and the database.
vendor/bin/drush config:status
Read a configuration value
Print the site name and other settings.
vendor/bin/drush config:get system.site
Change a configuration value
Change a setting, here the site name.
vendor/bin/drush config:set system.site name "My Site"