July 2017
Intermediate to advanced
456 pages
11h 32m
English
Another command that we can use to manage variables using Drush is that of drush config-set. Being able to set variables using the command line can help speed up our development time as well as allow us to quickly test values without the need for navigating back and forth in the Drupal interface.
For example, we can easily change the site's email address by opening a Terminal window and entering the following command:
drush config-set system.site mail 'test@example.com'
Unlike using global overrides placed within our settings.php file, any variable modified or changed using this method will be reflected in ...
Read now
Unlock full access