2

When looking through the list of variables provided by Strongarm, there are several that sound like they might be useful to include but what they actually refer to is impossible to guess from the name alone (e.g., mail_system). How can I quickly look up unknown variables to see what it is that they do?

3

Unfortunately, this is a shortcoming of the Variables system in Drupal: there is no centralized place documenting what they do. This is one reason why it is recommended that modules implementing their own advanced configuration (more than a few key-value pairs) do so using their own tables in hook_schema(), where everything can be documented. That having been said, you can grep around for where they're set/read from your Drupal root:

grep -rn 'variable_[gs]et(' . | grep 'foo_variable'

By checking the documentation for the functions in which they're set, you can typically glean their purpose.

0

If you search for the string in your codebase you should at least find the module(s) which are using the variable. If this deos not help I'd say the usual candiadates have to be asked: this forum, irc, the form at drupal.org etc.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.