Home ›
Seeing the variable table / $conf array... and the invisible/latent settings configuration variablesSeeing the variable table / $conf array... and the invisible/latent settings configuration variables
Submitted by Benjamin Melançon on December 20, 2010 - 9:30am
Searched words:
drupal 7 see variables conf
the $conf variable --
http://api.drupal.org/api/drupal/developer--globals.php/global/conf/7
Tip To be sure to always have logging to the screen enabled in your test environment, you can add this to your local settings.php file: $conf['error_level'] = 2; // Set what level of warning and error messages are sent to the screen. You can see what values are presently in the variable table with debug($conf). However, variables which have never had their settings form saved – which are still at their default value – will not show up in the table or the $conf array. Instead, the fastest way to determine what the name of a configuration variable that is still using its unset default is to print out its settings page form
More like this
- Use array_map() to apply a function to every element of an array
- Setting parts of complex (nested) variables with Features
- See all path aliases for a node
- Showing available variables in a theme and making new ones
- Failure of a large form (by Drupal module Bubbletimer) to submit, Suhosin post max variables error in Apache log


Comments
Post new comment