variable_get
- Versions
- 4.6 – 6
variable_get($name, $default)- 7
variable_get($name, $default = NULL)
Return a persistent variable.
See also
variable_del(), variable_set()
Parameters
$name The name of the variable to return.
$default The default value to use if this variable has never been set.
Return value
The value of the variable.
▾ 297 functions call variable_get()
- actions_do in includes/actions.inc
- Perform a given list of actions by executing their callback functions.
- aggregator_admin_settings in modules/aggregator/aggregator.admin.inc
- Form builder; Configure the aggregator system.
- aggregator_categorize_items in modules/aggregator/aggregator.pages.inc
- Form builder; build the page list form.
- aggregator_filter_xss in modules/aggregator/aggregator.module
- Safely render HTML content, as allowed.
- aggregator_page_categories in modules/aggregator/aggregator.pages.inc
- Menu callback; displays all the categories used by the aggregator.
- aggregator_page_category in modules/aggregator/aggregator.pages.inc
- Menu callback; displays all the items aggregated in a particular category.
- aggregator_page_last in modules/aggregator/aggregator.pages.inc
- Menu callback; displays the most recent items gathered from any feed.
- aggregator_page_rss in modules/aggregator/aggregator.pages.inc
- Menu callback; generate an RSS 0.92 feed of aggregator items or categories.
- aggregator_page_sources in modules/aggregator/aggregator.pages.inc
- Menu callback; displays all the feeds used by the aggregator.
- aggregator_parse_feed in modules/aggregator/aggregator.module
- Parse a feed and store its items.
- block_admin_display in modules/block/block.admin.inc
- Menu callback for admin/build/block.
- block_admin_display_form in modules/block/block.admin.inc
- Generate main blocks administration form.
- block_example_block in developer/examples/block_example.module
- Implementation of hook_block().
- block_example_contents in developer/examples/block_example.module
- A block content function.
- block_menu in modules/block/block.module
- Implementation of hook_menu().
- blogapi_admin_settings in modules/blogapi/blogapi.module
- blogapi_blogger_new_post in modules/blogapi/blogapi.module
- Blogging API callback. Inserts a new blog post as a node.
- blogapi_metaweblog_new_media_object in modules/blogapi/blogapi.module
- Blogging API callback. Inserts a file into Drupal.
- blogapi_status_error_check in modules/blogapi/blogapi.module
- Check that the user has permission to save the node with the chosen status.
- blog_feed_last in modules/blog/blog.pages.inc
- Menu callback; displays an RSS feed containing recent blog entries of all users.
- blog_feed_user in modules/blog/blog.pages.inc
- Menu callback; displays an RSS feed containing recent blog entries of a given user.
- blog_page_last in modules/blog/blog.pages.inc
- Menu callback; displays a Drupal page containing recent blog entries of all users.
- blog_page_user in modules/blog/blog.pages.inc
- Menu callback; displays a Drupal page containing recent blog entries of a given user.
- book_admin_settings in modules/book/book.admin.inc
- Builds and returns the book settings form.
- book_block in modules/book/book.module
- Implementation of hook_block().
- book_link in modules/book/book.module
- Implementation of hook_link().
- book_node_type in modules/book/book.module
- Implementation of hook_node_type().
- book_type_is_allowed in modules/book/book.module
- Determine if a given node type is in the list of types allowed for books.
- cache_clear_all in includes/cache.inc
- Expire data from the cache. If called without arguments, expirable entries will be cleared from the cache_page and cache_block tables.
- cache_get in includes/cache.inc
- Return 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.
- chameleon_page in themes/chameleon/chameleon.theme
- color_form_alter in modules/color/color.module
- Implementation of hook_form_alter().
- color_get_palette in modules/color/color.module
- Helper function to retrieve the color palette for a particular theme.
- color_scheme_form in modules/color/color.module
- Form callback. Returns the configuration form.
- color_scheme_form_submit in modules/color/color.module
- Submit handler for color change form.
- comment_form in modules/comment/comment.module
- Generate the basic commenting form, for appending to a node or display on a separate page.
- comment_form_add_preview in modules/comment/comment.module
- Form builder; Generate and validate a comment preview form.
- comment_form_alter in modules/comment/comment.module
- Implementation of hook_form_alter().
- comment_link in modules/comment/comment.module
- Implementation of hook_link().
- comment_nodeapi in modules/comment/comment.module
- Implementation of hook_nodeapi().
- comment_render in modules/comment/comment.module
- Renders comment(s).
- comment_update_1 in modules/comment/comment.install
- Changed node_comment_statistics to use node->changed to avoid future timestamps.
- comment_update_6002 in modules/comment/comment.install
- Changed comment settings from global to per-node -- copy global settings to all node types.
- comment_validate in modules/comment/comment.module
- Validate comment data.
- contact_admin_settings in modules/contact/contact.admin.inc
- contact_mail in modules/contact/contact.module
- Implementation of hook_mail().
- contact_mail_page in modules/contact/contact.pages.inc
- contact_site_page in modules/contact/contact.pages.inc
- Site-wide contact page.
- contact_user in modules/contact/contact.module
- Implementation of hook_user().
- contact_user_page in modules/contact/contact.pages.inc
- Personal contact page.
- dblog_admin_settings in modules/dblog/dblog.admin.inc
- dblog module settings form.
- dblog_cron in modules/dblog/dblog.module
- Implementation of hook_cron().
- default_profile_tasks in profiles/default/default.profile
- Perform any final installation tasks for this profile.
- do_search in modules/search/search.module
- Do a query on the full-text search index for a word or words.
- drupal_access_denied in includes/common.inc
- Generates a 403 error if the request is not allowed.
- drupal_cron_cleanup in includes/common.inc
- Shutdown function for cron cleanup.
- drupal_cron_run in includes/common.inc
- Executes a cron run when called
- drupal_error_handler in includes/common.inc
- Log errors as defined by administrator.
- drupal_get_css in includes/common.inc
- Returns a themed representation of all stylesheets that should be attached to the page.
- drupal_get_js in includes/common.inc
- Returns a themed presentation of all JavaScript code for the current page.
- drupal_get_private_key in includes/common.inc
- Ensure the private key variable used to generate tokens is set.
- drupal_init_language in includes/bootstrap.inc
- Choose a language for the current page, based on site and user preferences.
- drupal_init_path in includes/path.inc
- Initialize the $_GET['q'] variable to the proper normal path.
- drupal_is_front_page in includes/path.inc
- Check if the current page is the front page.
- drupal_mail in includes/mail.inc
- Compose and optionally send an e-mail message.
- drupal_mail_send in includes/mail.inc
- Send an e-mail message, using Drupal variables and default settings. More information in the <a href="http://php.net/manual/en/function.mail.php"> PHP function reference for mail()</a>. See drupal_mail() for information on how...
- drupal_match_path in includes/path.inc
- Check if a path matches any pattern in a set of patterns.
- drupal_not_found in includes/common.inc
- Generates a 404 error if the request can not be handled.
- drupal_page_cache_header in includes/bootstrap.inc
- Set HTTP headers in preparation for a cached page response.
- drupal_page_footer in includes/common.inc
- Perform end-of-request tasks.
- drupal_process_form in includes/form.inc
- This function is the heart of form API. The form gets built, validated and in appropriate cases, submitted.
- drupal_site_offline in includes/common.inc
- Generates a site off-line message.
- drupal_system_listing in includes/common.inc
- Return an array of system file objects.
- drupal_urlencode in includes/common.inc
- Wrapper around urlencode() which avoids Apache quirks.
- drupal_valid_token in includes/common.inc
- Validate a token based on $value, the current user session and private key.
- example_element_demo_form in developer/examples/example_element.module
- This is a simple form to demonstrate how to use the phonenumber element we've defined.
- example_profile_tasks in developer/example.profile
- Perform any final installation tasks for this profile.
- expand_date in includes/form.inc
- Roll out a single date element.
- file_create_url in includes/file.inc
- Create the download path to a file.
- file_directory_path in includes/file.inc
- Determine the default 'files' directory.
- file_directory_temp in includes/file.inc
- Determine the default temporary directory.
- file_get_mimetype in includes/file.inc
- Determine an Internet Media Type, or MIME type from a filename.
- file_munge_filename in includes/file.inc
- Munge the filename as needed for security purposes. For instance the file name "exploit.php.pps" would become "exploit.php_.pps".
- file_save_upload in includes/file.inc
- Saves a file upload to a new location. The source file is validated as a proper upload and handled as such.
- filter_access in modules/filter/filter.module
- Returns TRUE if the user is allowed to access this format.
- filter_admin_delete in modules/filter/filter.admin.inc
- Menu callback; confirm deletion of a format.
- filter_admin_delete_submit in modules/filter/filter.admin.inc
- Process filter delete form submission.
- filter_admin_format_form in modules/filter/filter.admin.inc
- Generate a filter format form.
- filter_admin_overview in modules/filter/filter.admin.inc
- Menu callback; Displays a list of all input formats and which one is the default.
- filter_example_filter in developer/examples/filter_example.module
- Implementation of hook_filter().
- filter_example_filter_tips in developer/examples/filter_example.module
- Implementation of hook_filter_tips().
- filter_filter_tips in modules/filter/filter.module
- Implementation of hook_filter_tips().
- filter_form in modules/filter/filter.module
- Generate a selector for choosing a format in a form.
- filter_formats in modules/filter/filter.module
- Retrieve a list of input formats.
- filter_list_format in modules/filter/filter.module
- Retrieve a list of filters for a certain format.
- filter_resolve_format in modules/filter/filter.module
- Resolve a format id, including the default format.
- filter_xss_bad_protocol in modules/filter/filter.module
- Processes an HTML attribute value and ensures it does not contain an URL with a disallowed protocol (e.g. javascript:)
- format_date in includes/common.inc
- Format a date with the given configured format or a custom format string.
- forum_admin_settings in modules/forum/forum.admin.inc
- Form builder for the forum settings page.
- forum_block in modules/forum/forum.module
- Implementation of hook_block().
- forum_enable in modules/forum/forum.install
- forum_form in modules/forum/forum.module
- Implementation of hook_form().
- forum_form_alter in modules/forum/forum.module
- Implementation of hook_form_alter().
- forum_form_container in modules/forum/forum.admin.inc
- Returns a form for adding a container to the forum vocabulary
- forum_form_forum in modules/forum/forum.admin.inc
- Returns a form for adding a forum to the forum vocabulary
- forum_form_submit in modules/forum/forum.admin.inc
- Process forum form and container form submissions.
- forum_get_forums in modules/forum/forum.module
- Returns a list of all forums for a given taxonomy id
- forum_help in modules/forum/forum.module
- Implementation of hook_help().
- forum_nodeapi in modules/forum/forum.module
- Implementation of hook_nodeapi().
- forum_overview in modules/forum/forum.admin.inc
- Returns an overview list of existing forums and containers
- forum_page in modules/forum/forum.pages.inc
- Menu callback; prints a forum listing.
- forum_taxonomy in modules/forum/forum.module
- Implementation of hook_taxonomy().
- forum_term_load in modules/forum/forum.module
- Fetch a forum term.
- forum_uninstall in modules/forum/forum.install
- Implementation of hook_uninstall().
- forum_update_6000 in modules/forum/forum.install
- Create 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_block in developer/hooks/core.php
- Declare a block or set of blocks.
- hook_footer in developer/hooks/core.php
- Insert closing HTML.
- hook_link in developer/hooks/core.php
- Define internal Drupal links.
- hook_mail in developer/hooks/core.php
- Prepare a message based on parameters; called from drupal_mail().
- hook_mail_alter in developer/hooks/core.php
- Alter any aspect of email sent by Drupal. You can use this hook to add a common site footer to all outgoing email, add extra header fields, and/or modify the email in any way. HTML-izing the outgoing email is one possibility. See also drupal_mail().
- hook_node_type in developer/hooks/node.php
- Act on node type changes.
- hook_requirements in developer/hooks/install.php
- Check installation requirements and do status reporting.
- hook_search in developer/hooks/core.php
- Define a custom search routine.
- hook_taxonomy in developer/hooks/core.php
- Act on taxonomy changes.
- hook_update_index in developer/hooks/core.php
- Update Drupal's full-text index for this module.
- hook_update_status_alter in developer/hooks/core.php
- Alter the information about available updates for projects.
- hook_watchdog in developer/hooks/core.php
- Log an event message
- image_gd_close in includes/image.gd.inc
- GD helper to write an image resource to a destination file.
- image_gd_settings in includes/image.gd.inc
- Retrieve settings for the GD2 toolkit.
- image_get_toolkit in includes/image.inc
- Retrieve the name of the currently used toolkit.
- init_theme in includes/theme.inc
- Initialize the theme system by loading the theme.
- install_tasks in ./install.php
- Tasks performed after the database is initialized.
- ip_address in includes/bootstrap.inc
- If Drupal is behind a reverse proxy, we use the X-Forwarded-For header instead of $_SERVER['REMOTE_ADDR'], which would be the IP address of the proxy server, and not the client's.
- language_default in includes/bootstrap.inc
- Default language used on the site
- language_initialize in includes/language.inc
- Choose a language for the page, based on language negotiation settings.
- language_list in includes/bootstrap.inc
- Get a list of languages set up indexed by the specified key
- language_url_rewrite in includes/language.inc
- Rewrite URL's with language based prefix. Parameters are the same as those of the url() function.
- locale in modules/locale/locale.module
- Provides interface translation services.
- locale_add_language in includes/locale.inc
- API function to add a language.
- locale_block in modules/locale/locale.module
- Implementation of hook_block(). Displays a language switcher. Translation links may be provided by other modules.
- locale_form_alter in modules/locale/locale.module
- Implementation of hook_form_alter(). Adds language fields to forms.
- locale_languages_configure_form in includes/locale.inc
- Setting for language negotiation options
- locale_update_6005 in modules/locale/locale.install
- Change language setting variable of content types.
- locale_update_js_files in modules/locale/locale.module
- Update JavaScript translation file, if required, and add it to the page.
- locale_user in modules/locale/locale.module
- Implementation of hook_user().
- menu_configure in modules/menu/menu.admin.inc
- Menu callback; Build the form presenting menu configuration options.
- menu_execute_active_handler in includes/menu.inc
- Execute the page callback associated with the current path
- menu_get_ancestors in includes/menu.inc
- Returns the ancestors (and relevant placeholders) for any given path.
- menu_nodeapi in modules/menu/menu.module
- Implementation of hook_nodeapi().
- menu_parent_options in modules/menu/menu.module
- Return a list of menu items that are valid possible parents for the given menu item.
- menu_primary_links in includes/menu.inc
- Return an array of links to be rendered as the Primary links.
- menu_secondary_links in includes/menu.inc
- Return an array of links to be rendered as the Secondary links.
- menu_tree_page_data in includes/menu.inc
- Get the data structure representing a named menu tree, based on the current page.
- module_list in includes/module.inc
- Collect a list of all loaded modules. During the bootstrap, return only vital modules. See bootstrap.inc
- multipage_form_example_load in developer/examples/multipage_form_example.module
- Implementation of hook_load().
- nodeapi_example_form_alter in developer/examples/nodeapi_example.module
- Implementation of hook_form_alter().
- nodeapi_example_nodeapi in developer/examples/nodeapi_example.module
- Implementation of hook_nodeapi().
- node_access_needs_rebuild in modules/node/node.module
- Flag / unflag the node access grants for rebuilding, or read the current value of the flag.
- node_configure in modules/node/node.admin.inc
- Menu callback; presents general node configuration options.
- node_feed in modules/node/node.module
- A generic function for generating RSS feeds from a set of nodes.
- node_form in modules/node/node.pages.inc
- Generate the node add/edit form array.
- node_object_prepare in modules/node/node.pages.inc
- node_page_default in modules/node/node.module
- Menu callback; Generate a listing of promoted nodes.
- node_search in modules/node/node.module
- Implementation of hook_search().
- node_teaser in modules/node/node.module
- Generate a teaser for a node body.
- node_type_form in modules/node/content_types.inc
- Generates the node type editing form.
- node_update_index in modules/node/node.module
- Implementation of hook_update_index().
- openid_authentication in modules/openid/openid.module
- Authenticate a user or attempt registration.
- openid_form_alter in modules/openid/openid.module
- Implementation of hook_form_alter : adds OpenID login to the login forms.
- openid_user in modules/openid/openid.module
- Implementation of hook_user().
- page_set_cache in includes/common.inc
- Store the current page in the cache.
- path_admin_form in modules/path/path.admin.inc
- Return a form for editing or creating an individual URL alias.
- ping_cron in modules/ping/ping.module
- Implementation of hook_cron().
- profile_block in modules/profile/profile.module
- Implementation of hook_block().
- profile_view_field in modules/profile/profile.module
- search_admin_settings in modules/search/search.admin.inc
- Menu callback; displays the search module settings page.
- search_admin_settings_validate in modules/search/search.admin.inc
- Validate callback.
- search_expand_cjk in modules/search/search.module
- Basic CJK tokenizer. Simply splits a string into consecutive, overlapping sequences of characters ('minimum_word_size' long).
- search_index in modules/search/search.module
- Update the full-text search index for a particular item.
- search_simplify in modules/search/search.module
- Simplifies a string according to indexing rules.
- sess_write in includes/session.inc
- statistics_access_logging_settings in modules/statistics/statistics.admin.inc
- Form builder; Configure access logging.
- statistics_block in modules/statistics/statistics.module
- Implementation of hook_block().
- statistics_cron in modules/statistics/statistics.module
- Implementation of hook_cron().
- statistics_exit in modules/statistics/statistics.module
- Implementation of hook_exit().
- statistics_top_pages in modules/statistics/statistics.admin.inc
- Menu callback; presents the "top pages" page.
- statistics_top_referrers in modules/statistics/statistics.admin.inc
- Menu callback; presents the "referrer" page.
- statistics_top_visitors in modules/statistics/statistics.admin.inc
- Menu callback; presents the "top visitors" page.
- syslog_admin_settings in modules/syslog/syslog.module
- syslog_watchdog in modules/syslog/syslog.module
- system_admin_compact_mode in modules/system/system.module
- Determine if a user is in compact mode.
- system_admin_theme_settings in modules/system/system.admin.inc
- Form builder; This function allows selection of the theme to show in administration sections.
- system_admin_theme_submit in modules/system/system.module
- Process admin theme form submissions.
- system_block in modules/system/system.module
- Implementation of hook_block().
- system_clean_url_settings in modules/system/system.admin.inc
- Form builder; Configure Clean URL settings.
- system_date_time_settings in modules/system/system.admin.inc
- Form builder; Configure the site date and time settings.
- system_error_reporting_settings in modules/system/system.admin.inc
- Form builder; Configure error reporting settings.
- system_file_system_settings in modules/system/system.admin.inc
- Form builder; Configure the site file handling.
- system_image_toolkit_settings in modules/system/system.admin.inc
- Form builder; Configure site image toolkit usage.
- system_init in modules/system/system.module
- Implementation of hook_init().
- system_initialize_theme_blocks in modules/system/system.module
- Assign an initial, default set of blocks for a theme.
- system_mail in modules/system/system.module
- Implementation of hook_mail().
- system_message_action in modules/system/system.module
- A configurable Drupal action. Sends a message to the current user's screen.
- system_node_type in modules/system/system.module
- Implementation of hook_node_type().
- system_performance_settings in modules/system/system.admin.inc
- Form builder; Configure site performance settings.
- system_requirements in modules/system/system.install
- Test and report Drupal installation requirements.
- system_rss_feeds_settings in modules/system/system.admin.inc
- Form builder; Configure how the site handles RSS feeds.
- system_site_information_settings in modules/system/system.admin.inc
- Form builder; The general site information form.
- system_site_maintenance_settings in modules/system/system.admin.inc
- Form builder; Configure the site's maintenance status.
- system_themes_form in modules/system/system.admin.inc
- Menu callback; displays a listing of all themes.
- system_themes_form_submit in modules/system/system.admin.inc
- Process system_themes_form form submissions.
- system_theme_select_form in modules/system/system.module
- Returns a fieldset containing the theme select form.
- system_theme_settings in modules/system/system.admin.inc
- Form builder; display theme configuration for entire site and individual themes.
- system_update_6017 in modules/system/system.install
- Rename settings related to user.module email notifications.
- system_update_6021 in modules/system/system.install
- Migrate the menu items from the old menu system to the new menu_links table.
- system_update_6041 in modules/system/system.install
- Change forum vocabulary not to be required by default and set the weight of the forum.module 1 higher than the taxonomy.module.
- system_update_6042 in modules/system/system.install
- Upgrade recolored theme stylesheets to new array structure.
- system_update_6044 in modules/system/system.install
- RC1 to RC2 index cleanup.
- system_update_6046 in modules/system/system.install
- Ensure 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.
- system_update_6051 in modules/system/system.install
- Create a signature_format column.
- system_user in modules/system/system.module
- Implementation of hook_user().
- t in includes/common.inc
- Translate strings to the page language or a given language.
- taxonomy_form_alter in modules/taxonomy/taxonomy.module
- Implementation of hook_form_alter(). Generate a form for selecting terms to associate with a node. We check for taxonomy_override_selector before loading the full vocabulary, so contrib modules can intercept before hook_form_alter and provide scalable...
- taxonomy_form_term in modules/taxonomy/taxonomy.admin.inc
- Form function for the term edit form.
- taxonomy_overview_terms in modules/taxonomy/taxonomy.admin.inc
- Form builder for the taxonomy terms overview.
- taxonomy_render_nodes in modules/taxonomy/taxonomy.module
- Accepts 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_nodes in modules/taxonomy/taxonomy.module
- Finds all nodes that match selected taxonomy conditions.
- taxonomy_term_page in modules/taxonomy/taxonomy.pages.inc
- Menu callback; displays all nodes associated with a term.
- template_preprocess_aggregator_item in modules/aggregator/aggregator.pages.inc
- Process variables for aggregator-item.tpl.php.
- template_preprocess_comment_wrapper in modules/comment/comment.module
- Process variables for comment-wrapper.tpl.php.
- template_preprocess_forums in modules/forum/forum.module
- Process variables for forums.tpl.php
- template_preprocess_forum_icon in modules/forum/forum.module
- Process variables to format the icon for each individual topic.
- template_preprocess_forum_topic_navigation in modules/forum/forum.module
- Preprocess variables to format the next/previous forum topic navigation links.
- template_preprocess_maintenance_page in includes/theme.maintenance.inc
- The variables generated here is a mirror of template_preprocess_page(). This preprocessor will run it's course when theme_maintenance_page() is invoked. It is also used in theme_install_page() and theme_update_page() to keep all the variables...
- template_preprocess_page in includes/theme.inc
- Process variables for page.tpl.php
- template_preprocess_user_picture in modules/user/user.module
- Process variables for user-picture.tpl.php.
- theme_aggregator_page_opml in modules/aggregator/aggregator.pages.inc
- Theme the OPML feed output.
- theme_aggregator_page_rss in modules/aggregator/aggregator.pages.inc
- Theme the RSS output.
- theme_comment_post_forbidden in modules/comment/comment.module
- Theme a "you can't post comments" notice.
- theme_get_setting in includes/theme.inc
- Retrieve 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_settings in includes/theme.inc
- Retrieve an associative array containing the settings for a theme.
- theme_update_report in modules/update/update.report.inc
- Theme project status report.
- theme_username in includes/theme.inc
- Format a username.
- throttle_admin_settings in modules/throttle/throttle.admin.inc
- Form builder; Configure the throttle system.
- throttle_exit in modules/throttle/throttle.module
- Implementation of hook_exit().
- throttle_status in modules/throttle/throttle.module
- Determine the current load on the site.
- translation_supported_type in modules/translation/translation.module
- Returns whether the given content type has support for translations.
- update_cron in modules/update/update.module
- Implementation of hook_cron().
- update_fix_d6_requirements in ./update.php
- Perform Drupal 5.x to 6.x updates that are required for update.php to function properly.
- update_get_available in modules/update/update.module
- Internal helper to try to get the update information from the cache if possible, and to refresh the cache when necessary.
- update_mail in modules/update/update.module
- Implementation of hook_mail().
- update_settings in modules/update/update.settings.inc
- Form builder for the update settings tab.
- upload_admin_settings in modules/upload/upload.admin.inc
- Menu callback for the upload settings form.
- upload_form_alter in modules/upload/upload.module
- upload_nodeapi in modules/upload/upload.module
- Implementation of hook_nodeapi().
- upload_node_form_submit in modules/upload/upload.module
- Save new uploads and store them in the session to be associated to the node on upload_save.
- url in includes/common.inc
- Generate a URL from a Drupal menu path. Will also pass-through existing URLs.
- user_admin_settings in modules/user/user.admin.inc
- Form builder; Configure user settings for this site.
- user_block in modules/user/user.module
- Implementation of hook_block().
- user_comment in modules/user/user.module
- Implementation of hook_comment().
- user_edit_form in modules/user/user.module
- user_file_download in modules/user/user.module
- Implementation of hook_file_download().
- user_login in modules/user/user.module
- Form builder; the main user login form.
- user_login_block in modules/user/user.module
- user_mail_tokens in modules/user/user.module
- Return an array of token to value mappings for user e-mail messages.
- user_register in modules/user/user.module
- Form builder; The user registration form.
- user_register_access in modules/user/user.module
- user_register_submit in modules/user/user.module
- Submit handler for the user registration form.
- user_validate_picture in modules/user/user.module
- _block_get_cache_id in modules/block/block.module
- Assemble the cache_id to use for a given block.
- _block_themes_access in modules/block/block.module
- Menu item access callback - only admin or enabled themes can be accessed
- _blogapi_get_node_types in modules/blogapi/blogapi.module
- _book_parent_select in modules/book/book.module
- Build the parent selection form element for the node form or outline tab
- _color_page_alter in modules/color/color.module
- Callback for the theme to alter the resources used.
- _comment_get_display_setting in modules/comment/comment.module
- Return a current comment display setting
- _db_query in includes/database.pgsql.inc
- Helper function for db_query().
- _drupal_bootstrap in includes/bootstrap.inc
- _drupal_flush_css_js in includes/common.inc
- Helper function to change query-strings on css/js files.
- _drupal_maintenance_theme in includes/theme.maintenance.inc
- Sets up the theming system for site installs, updates and when the site is in off-line mode. It also applies when the database is unavailable.
- _filter_html in modules/filter/filter.module
- HTML filter. Provides filtering of input into accepted HTML.
- _filter_html_settings in modules/filter/filter.module
- Settings for the HTML filter.
- _filter_url in modules/filter/filter.module
- URL filter. Automatically converts text web addresses (URLs, e-mail addresses, ftp links, etc.) into hyperlinks.
- _filter_url_settings in modules/filter/filter.module
- Settings for URL filter.
- _forum_parent_select in modules/forum/forum.admin.inc
- Returns a select box for available parent terms
- _locale_export_po_generate in includes/locale.inc
- Generates the PO(T) file contents for given strings.
- _locale_invalidate_js in includes/locale.inc
- Force the JavaScript translation file(s) to be refreshed.
- _locale_rebuild_js in includes/locale.inc
- (Re-)Creates the JavaScript translation file for a language.
- _menu_site_is_offline in includes/menu.inc
- Checks whether the site is off-line for maintenance.
- _search_parse_query in modules/search/search.module
- Helper function for search_parse_query();
- _system_themes_access in modules/system/system.module
- Menu item access callback - only admin or enabled themes can be accessed.
- _system_zonelist in modules/system/system.module
- Generate an array of time zones and their local time&date.
- _update_cron_notify in modules/update/update.fetch.inc
- Perform any notifications that should be done once cron fetches new data.
- _update_get_fetch_url_base in modules/update/update.fetch.inc
- Return the base of the URL to fetch available update data for a project.
- _update_refresh in modules/update/update.fetch.inc
- Fetch project info via XML from a central server.
- _upload_file_limits in modules/upload/upload.module
- Determine the limitations on files that a given user may upload. The user may be in multiple roles so we select the most permissive limitations from all of their roles.
- _user_mail_notify in modules/user/user.module
- Conditionally create and send a notification email when a certain operation happens on the given user account.
- _user_mail_text in modules/user/user.module
- Returns a mail string for a variable name.
Code
includes/bootstrap.inc, line 501
<?php
function variable_get($name, $default) {
global $conf;
return isset($conf[$name]) ? $conf[$name] : $default;
}
?>Login or register to post comments 
Et cetera
This function is called in order to retrieve previously stored values, such as user/admin settings. These values will be retrieved from the globally available values.
The function does allow for the passing of a default value should the setting not be found. The
return isset($conf[$name]) ? $conf[$name] : $defalt;line is a ternary expression which returns the default value should the sought after variable not be set, which is to say the value has not been assigned.