drupaldrupal-7drushlando

How to export config files in Drupal 7 with Lando


I've tried running lando drush cex or lando drush config-export but both give me this error:

Command config-export requires Drupal core version 8+ to run. [error] The drush command 'cex' could not be executed. [error]


Solution

  • You cannot use drush cex in Drupal 7. This command was introduced in Drupal 8.