Skip to main content
Tweeted twitter.com/#!/StackDrupal/status/336936341373861888
improved formatting and spelling
Source Link
avpaderno
  • 97.9k
  • 15
  • 164
  • 284

How todo I set variables for variable_get()?

Ok. ImI am trying to understand variable_get()variable_get(). I read so far that you can set variables in the settings.php using the $conf$conf array and retrieve them later in code by using variable_get()variable_get(). IveI have read that you can also use variable_getvariable_get() to retrieve values from the database.

How does this work?

Is
Is there a table that is automatically built?

How
How would you set variables if this feature is possible?

How to set variables for variable_get()?

Ok. Im trying to understand variable_get(). I read so far that you can set variables in the settings.php using the $conf array and retrieve them later in code by using variable_get(). Ive read that you can also use variable_get to retrieve values from the database.

How does this work?

Is there a table that is automatically built?

How would you set variables if this feature is possible?

How do I set variables for variable_get()?

I am trying to understand variable_get(). I read so far that you can set variables in the settings.php using the $conf array and retrieve them later in code by using variable_get(). I have read that you can also use variable_get() to retrieve values from the database.

How does this work?
Is there a table that is automatically built?
How would you set variables if this feature is possible?

What other ways can you use How to set variables for variable_get()?

Source Link
cthrucode
  • 155
  • 1
  • 1
  • 10

What other ways can you use variable_get()?

Ok. Im trying to understand variable_get(). I read so far that you can set variables in the settings.php using the $conf array and retrieve them later in code by using variable_get(). Ive read that you can also use variable_get to retrieve values from the database.

How does this work?

Is there a table that is automatically built?

How would you set variables if this feature is possible?