Drupal Variables
Table of Contents

Introduction

Drupal's persistent variables are stored in table variables.

Function variable_get() returns a persistent variable.
Function variable_set() sets a persistent variable.

There is also a set of global variables.

Tips

It's a good idea to prefix your Drupal variables with your module name.

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-Share Alike 2.5 License.