I'm using Drupal 6, and I'm having problems retrieving a set of variables I set with variable_set()
using variable_get()
. I'm doing a dpr(get_defined_vars())
to see what's defined, and I don't see my variables; I see only the arrays $form
and $form_state
(this is inside hook_submit()
).
Does get_defined_vars()
show all the variables defined via variable_get()
/variable_set()
? I would just like to see a list of all of them. I just need to see if they've been set correctly, and troubleshoot why I can't retrieve them.