Posted by Trebor on June 26, 2014 at 9:42pm
If you have reason (e.g. troubleshooting) to review and/or edit site variables, you can do this via a GUI interface (rather than drush vget/vset
) using the devel module and then going to the following location on your site:
mysite.com/devel/variable
This will provide you with a clear list of all the variables and the ability to edit them via a simple text editor interface.
I found this easier (or at least more straight-forward) than using drush vset
, especially when editing arrays.
Comments
I had forgotten about that part of devel
I used to use that a lot and had since forgotten about it. Thanks for the reminder/tip.
Drush 7
Although it was a pain to install on shared hosting I'm enjoying playing with Drush 7 - required for working with Drupal 8. A recent article from Acquia pointed out that vset/vget has changed to a much more useful format. https://www.acquia.com/blog/leverage-drush-7-drupal-8
Angus Pratt
Poet, Consultant, Web Designer
Check out my latest completed project - 64 Fun Solutions
Add Alias' & auto-completion for Drush
This article offers a nice overview of how to add alias' and auto-completion for drush:
http://nuvole.org/blog/2010/nov/09/typing-less-drush-aliases-and-autocom...
The alias names offered in the article can be changed to suit your mnemonics if need be.