Configuring a site (variable-set and variable-get)

Once logged in as the administrator in our newly created site, it is time to configure its basic behavior. We could navigate through each of the configuration pages, choosing what best fits our purpose. However, there are some scenarios where you know which settings you want to set and do not want to go log in and go through each of the configuration pages, where they are located, to change them. For example, imagine that you have just downloaded a production database, and every time you do this you have to change a few settings to block unwanted reactions while working with the site (such as disabling SMTP e-mail submission). The commands variable-set, variable-get, and variable-delete allow ...

Get Drush User's Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.