Drush

Drush is a command-line shell and scripting interface that makes life easier for people who develop websites with Drupal. If you don't know Drush yet, go visit its GitHub page at https://github.com/drush-ops/drush.

The tool provides some useful commands for Configuration Management.

Exporting and importing your configuration using Drush commands

The following Drush commands will be the most used ones as they allow you to export and import your configuration with a simple command:

  • drush config-export staging: This will export the configuration from the active directory
  • drush config-import staging: This will import the configuration from a config directory named staging

There are other commands available. We will only list the commands here. Read ...

Get Drupal 8 Configuration Management now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.