variable_set

Functions that call variable_set()

Namesort iconLocationDescription
block_example_blockdeveloper/examples/block_example.moduleImplementation of hook_block().
cache_clear_allincludes/bootstrap.incExpire data from the cache.
cache_getincludes/bootstrap.incReturn data from the persistent cache.
drupal_get_private_keyincludes/common.incEnsure the private key variable used to generate tokens is set.
file_directory_tempincludes/file.incDetermine the default temporary directory.
forum_blockmodules/forum.moduleImplementation of hook_block().
forum_form_submitmodules/forum.moduleProcess forum form and container form submissions.
forum_taxonomymodules/forum.moduleImplementation of hook_taxonomy().
hook_blockdeveloper/hooks/core.phpDeclare a block or set of blocks.
hook_taxonomydeveloper/hooks/core.phpAct on taxonomy changes.
hook_update_indexdeveloper/hooks/core.phpUpdate Drupal's full-text index for this module.
node_update_indexmodules/node.moduleImplementation of hook_update_index().
node_update_shutdownmodules/node.moduleshutdown function to make sure we always mark the last node processed.
profile_blockmodules/profile.moduleImplementation of hook_block().
statistics_blockmodules/statistics.moduleImplementation of hook_block().
statistics_cronmodules/statistics.moduleImplementation of hook_cron().
system_settings_form_submitmodules/system.moduleExecute the system_settings_form.
system_update_179database/updates.incUpdate base paths for relative URLs in custom blocks, profiles and various variables.
throttle_exitmodules/throttle.moduleImplementation of hook_exit().
update_fix_schema_versionupdate.phpIf the schema version for Drupal core is stored in the variables table (4.6.x and earlier) move it to the schema_version column of the system table.
update_fix_sessionsupdate.phpSystem update 130 changes the sessions table, which breaks the update script's ability to use session variables. This changes the table appropriately.
update_fix_watchdogupdate.phpSystem update 142 changes the watchdog table, which breaks the update script's ability to use logging. This changes the table appropriately.
update_fix_watchdog_115update.phpSystem update 115 changes the watchdog table, which breaks the update script's ability to use logging. This changes the table appropriately.
user_blockmodules/user.moduleImplementation of hook_block().
variable_setincludes/bootstrap.incSet a persistent variable.
_forum_get_vidmodules/forum.moduleReturns the vocabulary id for forum navigation.

Functions called by variable_set()

Namesort iconLocationDescription
cache_clear_allincludes/bootstrap.incExpire data from the cache.
db_lock_tableincludes/database.pgsql.incLock a table. This function automatically starts a transaction.
db_queryincludes/database.incRuns a basic query in the active database.
db_unlock_tablesincludes/database.pgsql.incUnlock all locked tables. This function automatically commits a transaction.
variable_setincludes/bootstrap.incSet a persistent variable.
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.