Access site variables via mysite.com/devel/variable

Trebor's picture

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

theMusician's picture

I used to use that a lot and had since forgotten about it. Thanks for the reminder/tip.

Drush 7

apratt's picture

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 - BCIT Faculty and Staff Association

Add Alias' & auto-completion for Drush

Trebor's picture

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.