variable_set

Functions that call variable_set()

Namesort iconLocationDescription
block_example_blockdeveloper/examples/block_example.moduleImplementation of hook_block().
cache_clear_allincludes/cache.incExpire data from the cache. If called without arguments, expirable entries will be cleared from the cache_page table.
cache_getincludes/cache.incReturn data from the persistent cache.
color_scheme_form_submitmodules/color/color.moduleSubmit handler for color change form.
comment_update_1modules/comment/comment.installChanged node_comment_statistics to use node->changed to avoid future timestamps.
drupal_cron_runincludes/common.incExecutes a cron run when called
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/forum.moduleImplementation of hook_block().
forum_form_submitmodules/forum/forum.moduleProcess forum form and container form submissions.
forum_taxonomymodules/forum/forum.moduleImplementation of hook_taxonomy().
hook_blockdeveloper/hooks/core.phpDeclare a block or set of blocks.
hook_node_typedeveloper/hooks/node.phpAct on node type changes.
hook_taxonomydeveloper/hooks/core.phpAct on taxonomy changes.
hook_update_indexdeveloper/hooks/core.phpUpdate Drupal's full-text index for this module.
install_completeinstall.phpPage displayed when the installation is complete. Called from install.php.
node_type_form_submitmodules/node/content_types.incImplementation of hook_form_submit().
node_update_indexmodules/node/node.moduleImplementation of hook_update_index().
node_update_shutdownmodules/node/node.moduleshutdown function to make sure we always mark the last node processed.
profile_blockmodules/profile/profile.moduleImplementation of hook_block().
statistics_blockmodules/statistics/statistics.moduleImplementation of hook_block().
statistics_cronmodules/statistics/statistics.moduleImplementation of hook_cron().
system_node_typemodules/system/system.moduleImplementation of hook_node_type().
system_settings_form_submitmodules/system/system.moduleExecute the system_settings_form.
system_update_1018modules/system/system.installChange break tag (was removed, see 1020).
system_update_1019modules/system/system.installChange variable format for user-defined e-mails.
system_update_1021modules/system/system.installUpdate two more variables that were missing from system_update_1019.
system_update_1022modules/system/system.installAdd index on users created column.
system_update_179modules/system/system.installUpdate base paths for relative URLs in custom blocks, profiles and various variables.
throttle_exitmodules/throttle/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/user.moduleImplementation of hook_block().
variable_setincludes/bootstrap.incSet a persistent variable.
_color_render_imagesmodules/color/color.moduleRender images that match a given palette.
_forum_get_vidmodules/forum/forum.moduleReturns the vocabulary id for forum navigation.

Functions called by variable_set()

Namesort iconLocationDescription
cache_clear_allincludes/cache.incExpire data from the cache. If called without arguments, expirable entries will be cleared from the cache_page table.
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.