drupal Drush Export Configuration


Example

In Drupal 7 and lower, your configuration is probably stored using the Features module. To update a feature with changes from the databases use this command:

drush features-update [feature-name] // e.g. drush features-update content_type_news

You can also use this shorthand:

drush fu [feature-name]

Drupal 8 using "Configuration Management". To export your configuration with drush use this command

drush config-export // optionally add -y to not have to verify it

You can also use the shorthand command

drush cex -y