variable_set

Functions that call variable_set()

Namesort iconLocationDescription
block_example_blockdeveloper/examples/block_example.moduleImplementation of hook_block().
book_blockmodules/book/book.moduleImplementation of hook_block().
book_node_typemodules/book/book.moduleImplementation of hook_node_type().
cache_clear_allincludes/cache.incExpire data from the cache. If called without arguments, expirable entries will be cleared from the cache_page and cache_block tables.
cache_getincludes/cache.incReturn data from the persistent cache. Data may be stored as either plain text or as serialized data. cache_get will automatically return unserialized objects and arrays.
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.
comment_update_6002modules/comment/comment.installChanged comment settings from global to per-node -- copy global settings to all node types.
drupal_clear_js_cacheincludes/common.incDelete all cached JS files.
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.admin.incProcess forum form and container form submissions.
forum_taxonomymodules/forum/forum.moduleImplementation of hook_taxonomy().
forum_update_6000modules/forum/forum.installCreate the forum vocabulary if does not exist. Assign the vocabulary a low weight so it will appear first in forum topic create and edit forms. Do not just call forum_enable() because in future versions it might do something different.
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_configure_form_submitinstall.phpForm API submit for the site configuration form.
install_maininstall.phpThe Drupal installation happens in a series of steps. We begin by verifying that the current environment meets our minimum requirements. We then go on to verify that settings.php is properly configured. From there we connect to the configured database...
install_tasksinstall.phpTasks performed after the database is initialized.
locale_add_languageincludes/locale.incAPI function to add a language.
locale_languages_configure_form_submitincludes/locale.incSubmit function for language negotiation settings.
locale_languages_edit_form_submitincludes/locale.incProcess the language editing form submission.
locale_languages_overview_form_submitincludes/locale.incProcess language overview form submissions, updating existing languages.
locale_update_6000modules/locale/locale.install{locales_meta} table became {languages}.
locale_update_6005modules/locale/locale.installChange language setting variable of content types.
locale_update_js_filesmodules/locale/locale.moduleUpdate JavaScript translation file, if required, and add it to the page.
menu_rebuildincludes/menu.inc(Re)populate the database tables used by various menu functions.
node_access_needs_rebuildmodules/node/node.moduleFlag / unflag the node access grants for rebuilding, or read the current value of the flag.
node_type_form_submitmodules/node/content_types.incImplementation of hook_form_submit().
node_update_indexmodules/node/node.moduleImplementation of hook_update_index().
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_blockmodules/system/system.moduleImplementation of hook_block().
system_check_http_requestmodules/system/system.moduleChecks whether the server is capable of issuing HTTP requests.
system_image_toolkit_settingsmodules/system/system.admin.incForm builder; Configure site image toolkit usage. See alsosystem_settings_form()
system_node_typemodules/system/system.moduleImplementation of hook_node_type().
system_settings_form_submitmodules/system/system.moduleExecute the system_settings_form.
system_themes_form_submitmodules/system/system.admin.incProcess system_themes_form form submissions.
system_theme_settings_submitmodules/system/system.admin.incProcess system_theme_settings form submissions.
system_update_1022modules/system/system.installAdd index on users created column.
system_update_6014modules/system/system.installRecord that the installer is done, so it is not possible to run the installer on upgraded sites.
system_update_6017modules/system/system.installRename settings related to user.module email notifications.
system_update_6021modules/system/system.installMigrate the menu items from the old menu system to the new menu_links table.
system_update_6042modules/system/system.installUpgrade recolored theme stylesheets to new array structure.
system_update_6043modules/system/system.installUpdate table indices to make them more rational and useful.
system_update_6046modules/system/system.installEnsure that the file_directory_path variable is set (using the old 5.x default, if necessary), so that the changed 6.x default won't break existing sites.
throttle_exitmodules/throttle/throttle.moduleImplementation of hook_exit().
update_fix_d6_requirementsupdate.phpPerform Drupal 5.x to 6.x updates that are required for update.php to function properly.
update_settings_submitmodules/update/update.settings.incSubmit handler for the settings tab.
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.
_drupal_flush_css_jsincludes/common.incHelper function to change query-strings on css/js files.
_install_locale_initial_batch_finishedinstall.phpFinished callback for the first locale import batch.
_install_locale_remaining_batch_finishedinstall.phpFinished callback for the second locale import batch.
_install_profile_batch_finishedinstall.phpFinished callback for the modules install batch.
_locale_invalidate_jsincludes/locale.incForce the JavaScript translation files) to be refreshed.
_locale_rebuild_jsincludes/locale.inc(Re-)Creates the JavaScript translation file for a language.
_menu_router_buildincludes/menu.incHelper function to build the router table based on the data from hook_menu.
_menu_set_expanded_menusincludes/menu.incHelper function to update a list of menus with expanded items
_node_index_nodemodules/node/node.moduleIndex a single node.
_update_refreshmodules/update/update.fetch.incFetch project info via XML from a central server.

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 and cache_block tables.
db_affected_rowsincludes/database.pgsql.incDetermine the number of rows changed by the preceding query.
db_queryincludes/database.pgsql.incRuns a basic query in the active database.
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.