How to export config files in Drupal 7 with Lando

600 Views Asked by At

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]

1

There are 1 best solutions below

1
On BEST ANSWER

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