variable_get

Functions that call variable_get()

Namesort iconLocationDescription
aggregator_filter_xssmodules/aggregator/aggregator.moduleSafely render HTML content, as allowed.
aggregator_page_categoriesmodules/aggregator/aggregator.moduleMenu callback; displays all the categories used by the aggregator.
aggregator_page_categorymodules/aggregator/aggregator.moduleMenu callback; displays all the items aggregated in a particular category.
aggregator_page_lastmodules/aggregator/aggregator.moduleMenu callback; displays the most recent items gathered from any feed.
aggregator_page_opmlmodules/aggregator/aggregator.moduleMenu callback; generates an OPML representation of all feeds.
aggregator_page_rssmodules/aggregator/aggregator.moduleMenu callback; generate an RSS 0.92 feed of aggregator items or categories.
aggregator_page_sourcesmodules/aggregator/aggregator.moduleMenu callback; displays all the feeds used by the aggregator.
block_admin_displaymodules/block/block.moduleGenerate main block administration form.
block_example_blockdeveloper/examples/block_example.moduleImplementation of hook_block().
block_example_contentsdeveloper/examples/block_example.moduleA block content function.
block_listmodules/block/block.moduleReturn all blocks in the specified region for the current user.
block_menumodules/block/block.moduleImplementation of hook_menu().
blogapi_blogger_new_postmodules/blogapi/blogapi.moduleBlogging API callback. Inserts a new blog post as a node.
blogapi_metaweblog_new_media_objectmodules/blogapi/blogapi.moduleBlogging API callback. Inserts a file into Drupal.
blogapi_status_error_checkmodules/blogapi/blogapi.moduleCheck that the user has permission to save the node with the chosen status.
blog_feed_lastmodules/blog/blog.moduleDisplays an RSS feed containing recent blog entries of all users.
blog_feed_usermodules/blog/blog.moduleDisplays an RSS feed containing recent blog entries of a given user.
blog_page_lastmodules/blog/blog.moduleDisplays a Drupal page containing recent blog entries of all users.
blog_page_usermodules/blog/blog.moduleDisplays a Drupal page containing recent blog entries of a given user.
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_form_altermodules/color/color.moduleImplementation of hook_form_alter().
color_get_palettemodules/color/color.moduleHelper function to retrieve the color palette for a particular theme.
color_scheme_formmodules/color/color.moduleForm callback. Returns the configuration form.
color_scheme_form_submitmodules/color/color.moduleSubmit handler for color change form.
comment_admin_settingsmodules/comment/comment.moduleMenu callback; presents the comment settings page.
comment_linkmodules/comment/comment.moduleImplementation of hook_link().
comment_nodeapimodules/comment/comment.moduleImplementation of hook_nodeapi().
comment_rendermodules/comment/comment.moduleRenders comment(s).
comment_savemodules/comment/comment.moduleAccepts a submission of new or changed comment content.
comment_update_1modules/comment/comment.installChanged node_comment_statistics to use node->changed to avoid future timestamps.
contact_mail_user_submitmodules/contact/contact.moduleProcess the personal contact page form submission.
contact_site_pagemodules/contact/contact.moduleSite-wide contact page
contact_usermodules/contact/contact.moduleImplementation of hook_user().
contact_user_pagemodules/contact/contact.modulePersonal contact page.
do_searchmodules/search/search.moduleDo a query on the full-text search index for a word or words.
drupal_access_deniedincludes/common.incGenerates a 403 error if the request is not allowed.
drupal_authmodules/drupal/drupal.moduleImplementation of hook_auth().
drupal_cronmodules/drupal/drupal.moduleImplementation of hook_cron(); handles pings to and from the site.
drupal_cron_cleanupincludes/common.incShutdown function for cron cleanup.
drupal_cron_runincludes/common.incExecutes a cron run when called
drupal_get_cssincludes/common.incReturns a themed representation of all stylesheets that should be attached to the page. It loads the CSS in order, with 'core' CSS first, then 'module' CSS, then 'theme' CSS files. This ensures proper cascading of styles...
drupal_get_private_keyincludes/common.incEnsure the private key variable used to generate tokens is set.
drupal_helpmodules/drupal/drupal.moduleImplementation of hook_help().
drupal_init_pathincludes/path.incInitialize the $_GET['q'] variable to the proper normal path.
drupal_is_front_pageincludes/path.incCheck if the current page is the front page.
drupal_loginmodules/drupal/drupal.moduleCallback function from drupal_xmlrpc() for authenticating remote clients.
drupal_mailincludes/common.incSend an e-mail message, using Drupal variables and default settings. More information in the PHP function reference for mail)
drupal_menumodules/drupal/drupal.moduleImplementation of hook_menu().
drupal_notifymodules/drupal/drupal.moduleSends a ping to the Drupal directory server.
drupal_not_foundincludes/common.incGenerates a 404 error if the request can not be handled.
drupal_page_footerincludes/common.incPerform end-of-request tasks.
drupal_site_offlineincludes/common.incGenerates a site off-line message
drupal_system_listingincludes/common.incReturns an array of files objects of the given type from the site-wide directory (i.e. modules/), the all-sites directory (i.e. sites/all/modules/), the profiles directory, and site-specific directory (i.e. sites/somesite/modules/). The returned array...
drupal_urlencodeincludes/common.incWrapper around urlencode) which avoids Apache quirks.
drupal_valid_tokenincludes/common.incValidate a token based on $value, the current user session and private key.
drupal_xmlrpcmodules/drupal/drupal.moduleImplementation of hook_xmlrpc().
error_handlerincludes/common.incLog errors as defined by administrator Error levels: 0 = Log errors to database. 1 = Log errors to database and to screen.
example_element_demodeveloper/examples/example_element.moduleThis is a simple form to demonstrate how to use the phonenumber form element we defined.
expand_dateincludes/form.incRoll out a single date element.
file_create_urlincludes/file.incCreate the download path to a file.
file_directory_pathincludes/file.incDetermine the default 'files' directory.
file_directory_tempincludes/file.incDetermine the default temporary directory.
file_get_mimetypeincludes/file.incDetermine an Internet Media Type, or MIME type from a filename.
filter_accessmodules/filter/filter.moduleReturns TRUE if the user is allowed to access this format.
filter_admin_deletemodules/filter/filter.moduleMenu callback; confirm deletion of a format.
filter_admin_delete_submitmodules/filter/filter.moduleProcess filter delete form submission.
filter_admin_format_formmodules/filter/filter.moduleGenerate a filter format form.
filter_admin_overviewmodules/filter/filter.moduleDisplays a list of all input formats and which one is the default
filter_example_filterdeveloper/examples/filter_example.moduleImplementation of hook_filter().
filter_example_filter_tipsdeveloper/examples/filter_example.moduleImplementation of hook_filter_tips().
filter_filter_tipsmodules/filter/filter.moduleImplementation of hook_filter_tips().
filter_formmodules/filter/filter.moduleGenerate a selector for choosing a format in a form.
filter_formatsmodules/filter/filter.moduleRetrieve a list of input formats.
filter_resolve_formatmodules/filter/filter.moduleResolve a format id, including the default format.
filter_xss_bad_protocolmodules/filter/filter.moduleProcesses an HTML attribute value and ensures it does not contain an URL with a disallowed protocol (e.g. javascript:)
format_dateincludes/common.incFormat a date with the given configured format or a custom format string.
forum_blockmodules/forum/forum.moduleImplementation of hook_block().
forum_form_submitmodules/forum/forum.moduleProcess forum form and container form submissions.
forum_get_forumsmodules/forum/forum.moduleReturns a list of all forums for a given taxonomy id
forum_overviewmodules/forum/forum.moduleReturns an overview list of existing forums and containers
forum_pagemodules/forum/forum.moduleMenu callback; prints a forum listing.
forum_taxonomymodules/forum/forum.moduleImplementation of hook_taxonomy().
forum_validatemodules/forum/forum.moduleImplementation of hook_validate().
forum_viewmodules/forum/forum.moduleImplementation of hook_view().
hook_authdeveloper/hooks/authentication.phpVerify authentication of a user.
hook_blockdeveloper/hooks/core.phpDeclare a block or set of blocks.
hook_footerdeveloper/hooks/core.phpInsert closing HTML.
hook_form_alterdeveloper/hooks/core.phpPerform alterations before a form is rendered.
hook_initdeveloper/hooks/core.phpPerform setup tasks.
hook_linkdeveloper/hooks/core.phpDefine internal Drupal links.
hook_mail_alterdeveloper/hooks/core.phpAlter any aspect of the emails sent by Drupal. You can use this hook to add a common site footer to all outgoing emails; add extra header fields and/or modify the mails sent out in any way. HTML-izing the outgoing mails is one possibility. See also...
hook_node_typedeveloper/hooks/node.phpAct on node type changes.
hook_requirementsdeveloper/hooks/install.phpCheck installation requirements that need to be satisfied.
hook_searchdeveloper/hooks/core.phpDefine a custom search routine.
hook_taxonomydeveloper/hooks/core.phpAct on taxonomy changes.
hook_update_indexdeveloper/hooks/core.phpUpdate Drupal's full-text index for this module.
image_gd_closeincludes/image.incGD helper to write an image resource to a destination file.
image_gd_settingsincludes/image.incRetrieve settings for the GD2 toolkit.
image_get_toolkitincludes/image.incRetrieve the name of the currently used toolkit.
init_themeincludes/theme.incInitialize the theme system by loading the theme.
menu_configuremodules/menu/menu.moduleMenu callback; presents menu configuration options.
menu_form_altermodules/menu/menu.moduleImplementation of hook_form_alter(). Add menu item fields to the node form.
menu_primary_linksincludes/menu.incReturns an array containing the primary links. Can optionally descend from the root of the Primary links menu towards the current node for a specified number of levels and return that submenu. Used to generate a primary/secondary menu from different...
menu_secondary_linksincludes/menu.incReturns an array containing the secondary links. Secondary links can be either a second level of the Primary links menu or generated from their own menu.
module_listincludes/module.incCollect a list of all loaded modules. During the bootstrap, return only vital modules. See bootstrap.inc
multipage_form_example_loaddeveloper/examples/multipage_form_example.moduleImplementation of hook_load().
nodeapi_example_form_alterdeveloper/examples/nodeapi_example.moduleImplementation of hook_form_alter().
nodeapi_example_nodeapideveloper/examples/nodeapi_example.moduleImplementation of hook_nodeapi().
node_configuremodules/node/node.moduleMenu callback; presents general node configuration options.
node_feedmodules/node/node.moduleA generic function for generating RSS feeds from a set of nodes.
node_formmodules/node/node.moduleGenerate the node add/edit form array.
node_menumodules/node/node.moduleImplementation of hook_menu().
node_page_defaultmodules/node/node.moduleMenu callback; Generate a listing of promoted nodes.
node_searchmodules/node/node.moduleImplementation of hook_search().
node_teasermodules/node/node.moduleAutomatically generate a teaser for a node body.
node_type_formmodules/node/content_types.incGenerates the node type editing form.
node_update_indexmodules/node/node.moduleImplementation of hook_update_index().
path_formmodules/path/path.moduleReturn a form for editing or creating an individual URL alias.
phptemplate_pagethemes/engines/phptemplate/phptemplate.enginePrepare the values passed to the theme_page function to be passed into a pluggable template engine. Uses the arg() function to generate a series of page template files suggestions based on the current path. If none are found, the default page.tpl.php...
ping_cronmodules/ping/ping.moduleImplementation of hook_cron().
profile_blockmodules/profile/profile.moduleImplementation of hook_block().
search_admin_settingsmodules/search/search.moduleMenu callback; displays the search module settings page.
search_admin_settings_validatemodules/search/search.moduleValidate callback.
search_expand_cjkmodules/search/search.moduleBasic CJK tokenizer. Simply splits a string into consecutive, overlapping sequences of characters ('minimum_word_size' long).
search_indexmodules/search/search.moduleUpdate the full-text search index for a particular item.
search_simplifymodules/search/search.moduleSimplifies a string according to indexing rules.
statistics_blockmodules/statistics/statistics.moduleImplementation of hook_block().
statistics_cronmodules/statistics/statistics.moduleImplementation of hook_cron().
statistics_exitmodules/statistics/statistics.moduleImplementation of hook_exit().
statistics_menumodules/statistics/statistics.moduleImplementation of hook_menu().
statistics_top_pagesmodules/statistics/statistics.moduleMenu callback; presents the "top pages" page.
statistics_top_referrersmodules/statistics/statistics.moduleMenu callback; presents the "referrer" page.
statistics_top_visitorsmodules/statistics/statistics.moduleMenu callback; presents the "top visitors" page.
system_admin_compact_modemodules/system/system.moduleDetermine if a user is in compact mode.
system_admin_theme_settingsmodules/system/system.moduleThis function allows selection of the theme to show in administration sections.
system_initialize_theme_blocksmodules/system/system.moduleAssign an initial, default set of blocks for a theme.
system_menumodules/system/system.moduleImplementation of hook_menu().
system_node_typemodules/system/system.moduleImplementation of hook_node_type().
system_requirementsmodules/system/system.installTest and report Drupal installation requirements.
system_themesmodules/system/system.moduleMenu callback; displays a listing of all themes.
system_theme_select_formmodules/system/system.moduleReturns a fieldset containing the theme select form.
system_theme_settingsmodules/system/system.moduleMenu callback; display theme configuration for entire site and individual themes.
system_update_1019modules/system/system.installChange variable format for user-defined e-mails.
system_update_1020modules/system/system.installChange break tag back (was removed from head).
system_update_1021modules/system/system.installUpdate two more variables that were missing from system_update_1019.
system_update_178modules/system/system.installUpdate base paths for relative URLs in node and comment content.
system_update_179modules/system/system.installUpdate base paths for relative URLs in custom blocks, profiles and various variables.
system_usermodules/system/system.moduleImplementation of hook_user().
taxonomy_render_nodesmodules/taxonomy/taxonomy.moduleAccepts the result of a pager_query() call, such as that performed by taxonomy_select_nodes(), and formats each node along with a pager.
taxonomy_select_nodesmodules/taxonomy/taxonomy.moduleFinds all nodes that match selected taxonomy conditions.
taxonomy_term_pagemodules/taxonomy/taxonomy.moduleMenu callback; displays all nodes associated with a term.
theme_aggregator_page_itemmodules/aggregator/aggregator.moduleFormat an individual feed item for display on the aggregator page.
theme_forum_displaymodules/forum/forum.moduleFormat the forum body.
theme_forum_iconmodules/forum/forum.moduleFormat the icon for each individual topic.
theme_forum_topic_navigationmodules/forum/forum.moduleFormat the next/previous forum topic navigation links.
theme_get_settingincludes/theme.incRetrieve a setting for the current theme. This function is designed for use from within themes & engines to determine theme settings made in the admin interface.
theme_get_settingsincludes/theme.incRetrieve an associative array containing the settings for a theme.
theme_pageincludes/theme.incReturn an entire Drupal page displaying the supplied content.
theme_usernameincludes/theme.incFormat a username.
throttle_exitmodules/throttle/throttle.moduleImplementation of hook_exit().
throttle_statusmodules/throttle/throttle.moduleDetermine the current load on the site.
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.
upload_admin_settingsmodules/upload/upload.moduleMenu callback for the upload settings form.
upload_jsmodules/upload/upload.moduleMenu-callback for JavaScript-based uploads.
upload_menumodules/upload/upload.moduleImplementation of hook_menu().
upload_munge_filenamemodules/upload/upload.moduleMunge the filename as needed for security purposes.
upload_nodeapimodules/upload/upload.moduleImplementation of hook_nodeapi().
urlincludes/common.incGenerate a URL from a Drupal menu path. Will also pass-through existing URLs.
user_blockmodules/user/user.moduleImplementation of hook_block().
user_file_downloadmodules/user/user.moduleImplementation of hook_file_download().
user_helpmodules/user/user.moduleImplementation of hook_help().
user_menumodules/user/user.moduleImplementation of hook_menu().
variable_getincludes/bootstrap.incReturn a persistent variable.
watchdog_cronmodules/watchdog/watchdog.moduleImplementation of hook_cron().
_color_page_altermodules/color/color.moduleCallback for the theme to alter the resources used.
_comment_get_display_settingmodules/comment/comment.moduleReturn a current comment display setting
_db_queryincludes/database.pgsql.incHelper function for db_query().
_drupal_cache_initincludes/bootstrap.incInitialize the caching strategy, which loads at different stages within Drupal's bootstrap process.
_filter_htmlmodules/filter/filter.moduleHTML filter. Provides filtering of input into accepted HTML.
_filter_html_settingsmodules/filter/filter.moduleSettings for the HTML filter.
_filter_urlmodules/filter/filter.moduleURL filter. Automatically converts text web addresses (URLs, e-mail addresses, ftp links, etc.) into hyperlinks.
_filter_url_settingsmodules/filter/filter.moduleSettings for URL filter.
_forum_get_vidmodules/forum/forum.moduleReturns the vocabulary id for forum navigation.
_legacy_filter_old_urlsmodules/legacy/legacy.moduleRewrite legacy URLs.
_locale_export_poincludes/locale.incExports a Portable Object (Template) file for a language
_menu_site_is_offlineincludes/menu.incReturns TRUE if the site is off-line for maintenance.
_search_parse_querymodules/search/search.moduleHelper function for search_parse_query();
_upload_imagemodules/upload/upload.moduleCheck an upload, if it is an image, make sure it fits within the maximum dimensions allowed.
_upload_preparemodules/upload/upload.moduleSave new uploads and attach them to the node object. append file_previews to the node object as well.

Functions called by variable_get()

Namesort iconLocationDescription
variable_getincludes/bootstrap.incReturn 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.