variable_get

  1. drupal
    1. 5
    2. 6
    3. 7
    4. 8
Versions
5 – 6 variable_get($name, $default)
7 – 8 variable_get($name, $default = NULL)

Returns a persistent variable.

Case-sensitivity of the variable_* functions depends on the database collation used. To avoid problems, always use lower case for persistent variable names.

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.

See also

variable_del()

variable_set()

▾ 617 functions call variable_get()

ActionLoopTestCase::triggerActions in modules/simpletest/tests/actions.test
Create an infinite loop by causing a watchdog message to be set, which causes the actions to be triggered again, up to actions_max_stack times.
actions_do in includes/actions.inc
Performs a given list of actions by executing their callback functions.
AggregatorCronTestCase::testCron in modules/aggregator/aggregator.test
Add feeds update them on cron.
AggregatorTestCase::getDefaultFeedItemCount in modules/aggregator/aggregator.test
Return the count of the randomly created feed array.
aggregator_admin_form 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_expire in modules/aggregator/aggregator.processor.inc
Expire feed items on $feed that are older than aggregator_clear.
aggregator_filter_xss in modules/aggregator/aggregator.module
Safely render HTML content, as allowed.
aggregator_form_aggregator_admin_form_alter in modules/aggregator/aggregator.processor.inc
Implements hook_form_aggregator_admin_form_alter().
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_update_7001 in modules/aggregator/aggregator.install
Add aggregator teaser length to settings from old global default teaser length
ajax_base_page_theme in includes/ajax.inc
Theme callback for Ajax requests.
ajax_prepare_response in includes/ajax.inc
Converts the return value of a page callback into an Ajax commands array.
authorize_access_allowed in ./authorize.php
Determines if the current user is allowed to run authorize.php.
authorize_filetransfer_form in includes/authorize.inc
Build the form for choosing a FileTransfer type and supplying credentials.
bartik_process_maintenance_page in themes/bartik/template.php
Override or insert variables into the maintenance page template.
bartik_process_page in themes/bartik/template.php
Override or insert variables into the page template.
BasicUpgradePath::testBasicUpgrade in modules/simpletest/tests/upgrade/upgrade.test
Test a successful upgrade.
batch_test_stack in modules/simpletest/tests/batch_test.module
Helper function: store or retrieve traced execution data.
block_admin_configure in modules/block/block.admin.inc
Form builder for the block configuration form.
block_example_block_configure in examples/block_example/block_example.module
Implements hook_block_configure().
block_example_contents in examples/block_example/block_example.module
A module-defined block content function.
block_form_system_performance_settings_alter in modules/block/block.module
Implements hook_form_FORM_ID_alter().
block_help in modules/block/block.module
Implements hook_help().
block_menu in modules/block/block.module
Implements hook_menu().
block_page_build in modules/block/block.module
Implements hook_page_build().
block_test_block_info in modules/block/tests/block_test.module
Implements hook_block_info().
block_test_block_view in modules/block/tests/block_test.module
Implements hook_block_view().
block_theme_initialize in modules/block/block.module
Assign an initial, default set of blocks for a theme.
block_update_7004 in modules/block/block.install
Add new blocks to new regions, migrate custom variables to blocks.
block_update_7005 in modules/block/block.install
Update the {block_custom}.format column.
BlogTestCase::testBlog in modules/blog/blog.test
Login users, create blog nodes, and test blog functionality through the admin and user interfaces.
blog_block_configure in modules/blog/blog.module
Implements hook_block_configure().
blog_block_view in modules/blog/blog.module
Implements hook_block_view().
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_paths in modules/book/book.module
Implements hook_admin_paths().
book_admin_settings in modules/book/book.admin.inc
Builds and returns the book settings form.
book_block_configure in modules/book/book.module
Implements hook_block_configure().
book_block_view in modules/book/book.module
Implements hook_block_view().
book_node_type_update in modules/book/book.module
Implements hook_node_type_update().
book_node_view_link in modules/book/book.module
Inject links into $node as needed.
book_type_is_allowed in modules/book/book.module
Determine if a given node type is in the list of types allowed for books.
BootstrapPageCacheTestCase::testPageCompression in modules/simpletest/tests/bootstrap.test
Test page compression.
BootstrapVariableTestCase::testVariable in modules/simpletest/tests/bootstrap.test
testVariable
BootstrapVariableTestCase::testVariableDefaults in modules/simpletest/tests/bootstrap.test
Makes sure that the default variable parameter is passed through okay.
CascadingStylesheetsTestCase::testAddCssFileWithQueryString in modules/simpletest/tests/common.test
Tests that the query string remains intact when adding CSS files that have query string parameters.
ColorTestCase::_testColor in modules/color/color.test
Tests color module functionality using the given theme.
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.
color_update_7001 in modules/color/color.install
Warn site administrator if unsafe CSS color codes are found in the database.
CommentHelperCase::postComment in modules/comment/comment.test
Post comment.
comment_block_configure in modules/comment/comment.module
Implements hook_block_configure().
comment_field_extra_fields in modules/comment/comment.module
Implements hook_field_extra_fields().
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_node_type_form_alter in modules/comment/comment.module
Implements hook_form_FORM_ID_alter().
comment_get_display_ordinal in modules/comment/comment.module
Get the display ordinal for a comment, starting from 0.
comment_get_display_page in modules/comment/comment.module
Return the page number for a comment.
comment_new_page_count in modules/comment/comment.module
Calculate page number for first new comment.
comment_node_insert in modules/comment/comment.module
Implements hook_node_insert().
comment_node_page_additions in modules/comment/comment.module
Build the comment-related elements for node detail pages.
comment_node_prepare in modules/comment/comment.module
Implements hook_node_prepare().
comment_node_update_index in modules/comment/comment.module
Implements hook_node_update_index().
comment_node_view in modules/comment/comment.module
Implements hook_node_view().
comment_preview in modules/comment/comment.module
Generate a comment preview.
comment_ranking in modules/comment/comment.module
Implements hook_ranking().
comment_submit in modules/comment/comment.module
Prepare a comment for submission.
comment_tokens in modules/comment/comment.tokens.inc
Implements hook_tokens().
comment_update_7000 in modules/comment/comment.install
Rename comment display setting variables.
comment_update_7006 in modules/comment/comment.install
Migrate data from the comment field to field storage.
comment_view in modules/comment/comment.module
Generate an array for rendering the given comment.
ContactPersonalTestCase::testPersonalContactFlood in modules/contact/contact.test
Test the personal contact form flood protection.
ContactSitewideTestCase::testSiteWideContact in modules/contact/contact.test
Test configuration options and site-wide contact form.
contact_form_user_admin_settings_alter in modules/contact/contact.module
Implements hook_form_FORM_ID_alter().
contact_install in modules/contact/contact.install
Implements hook_install().
contact_mail in modules/contact/contact.module
Implements hook_mail().
contact_personal_form in modules/contact/contact.pages.inc
Form builder; the personal contact form.
contact_personal_form_submit in modules/contact/contact.pages.inc
Form submission handler for contact_personal_form().
contact_site_form in modules/contact/contact.pages.inc
Form builder; the site-wide contact form.
contact_site_form_submit in modules/contact/contact.pages.inc
Form submission handler for contact_site_form().
contact_update_7000 in modules/contact/contact.install
Rename the threshold limit variable.
contact_user_presave in modules/contact/contact.module
Implements hook_user_presave().
CronRunTestCase::testAutomaticCron in modules/system/system.test
Ensure that the automatic cron run feature is working.
CronRunTestCase::testCronExceptions in modules/system/system.test
Make sure exceptions thrown on hook_cron() don't affect other modules.
CronRunTestCase::testCronRun in modules/system/system.test
Test cron runs.
dashboard_block_info_alter in modules/dashboard/dashboard.module
Implements hook_block_info_alter().
dashboard_enable in modules/dashboard/dashboard.install
Implements hook_enable().
DBLogTestCase::verifyRowLimit in modules/dblog/dblog.test
Verify setting of the dblog row limit.
dblog_cron in modules/dblog/dblog.module
Implements hook_cron().
dblog_form_system_logging_settings_alter in modules/dblog/dblog.module
Implements hook_form_FORM_ID_alter().
db_ignore_slave in includes/database/database.inc
Sets a session variable specifying the lag time for ignoring a slave server.
DefaultMailSystem::mail in modules/system/system.mail.inc
Send an e-mail message, using Drupal variables and default settings.
DrupalDatabaseCache::clear 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 bins.
DrupalDatabaseCache::garbageCollection in includes/cache.inc
Garbage collection for get() and getMultiple().
DrupalDatabaseCache::prepareItem in includes/cache.inc
Prepare a cached item.
DrupalDummyStreamWrapper::getDirectoryPath in modules/simpletest/tests/file_test.module
Gets the path that the wrapper is responsible for. @TODO: Review this method name in D8 per http://drupal.org/node/701358
DrupalHtmlToTextTestCase::testVeryLongLineWrap in modules/simpletest/tests/mail.test
Tests that drupal_html_to_text() wraps before 1000 characters.
DrupalHTTPRequestTestCase::testDrupalHTTPRequest in modules/simpletest/tests/common.test
DrupalPrivateStreamWrapper::getDirectoryPath in includes/stream_wrappers.inc
Implements abstract public function getDirectoryPath()
DrupalPublicStreamWrapper::getDirectoryPath in includes/stream_wrappers.inc
Implements abstract public function getDirectoryPath()
DrupalQueue::get in modules/system/system.queue.inc
Returns the queue object for a given name.
DrupalTemporaryStreamWrapper::getDirectoryPath in includes/stream_wrappers.inc
Implements abstract public function getDirectoryPath()
DrupalTestCase::run in modules/simpletest/drupal_web_test_case.php
Run all tests in this class.
DrupalUnitTestCase::setUp in modules/simpletest/drupal_web_test_case.php
Sets up unit test environment.
DrupalWebTestCase::assertMail in modules/simpletest/drupal_web_test_case.php
Asserts that the most recently sent e-mail message has the given value.
DrupalWebTestCase::cronRun in modules/simpletest/drupal_web_test_case.php
Runs cron in the Drupal installed by Simpletest.
DrupalWebTestCase::curlExec in modules/simpletest/drupal_web_test_case.php
Initializes and executes a cURL request.
DrupalWebTestCase::drupalGetMails in modules/simpletest/drupal_web_test_case.php
Gets an array containing all e-mails sent during this test case.
DrupalWebTestCase::drupalGetTestFiles in modules/simpletest/drupal_web_test_case.php
Get a list files that can be used in tests.
DrupalWebTestCase::setUp in modules/simpletest/drupal_web_test_case.php
Generates a random database prefix, runs the install scripts on the prefixed database and enable the specified modules. After installation many caches are flushed and the internal browser is setup so that the page requests will run on the new prefix.…
DrupalWebTestCase::tearDown in modules/simpletest/drupal_web_test_case.php
Delete created files and temporary files directory, delete the tables created by setUp(), and reset the database prefix.
drupal_aggregate_css in includes/common.inc
Default callback to aggregate CSS files and inline content.
drupal_bootstrap in includes/bootstrap.inc
A string describing a phase of Drupal to load. Each phase adds to the previous one, so invoking a later phase automatically runs the earlier phases too. The most important usage is that if you want to access the Drupal database from a script without…
drupal_build_css_cache in includes/common.inc
Aggregates and optimizes CSS files into a cache file in the files directory.
drupal_build_js_cache in includes/common.inc
Aggregates JavaScript files into a cache file in the files directory.
drupal_chmod in includes/file.inc
Set the permissions on a file or directory.
drupal_cron_cleanup in includes/common.inc
Shutdown function for cron cleanup.
drupal_delete_file_if_stale in includes/common.inc
Callback to delete files modified more than a set time ago.
drupal_deliver_html_page in includes/common.inc
Package and send the result of a page callback to the browser as HTML.
drupal_fast_404 in includes/bootstrap.inc
Returns a simple 404 Not Found 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_get_profile in includes/common.inc
Get the name of the currently active install profile.
drupal_get_user_timezone in includes/bootstrap.inc
Return the time zone of the current user.
drupal_is_denied in includes/bootstrap.inc
Check to see if an IP address has been blocked.
drupal_is_front_page in includes/path.inc
Check if the current page is the front page.
drupal_lookup_path in includes/path.inc
Given an alias, return its Drupal system URL if one exists. Given a Drupal system URL return one of its aliases if such a one exists. Otherwise, return FALSE.
drupal_mail in includes/mail.inc
Compose and optionally send an e-mail message.
drupal_mail_system in includes/mail.inc
Returns an object that implements the MailSystemInterface.
drupal_match_path in includes/path.inc
Check if a path matches any pattern in a set of patterns.
drupal_mkdir in includes/file.inc
Creates a directory using Drupal's default mode.
drupal_multilingual in includes/bootstrap.inc
Return true if there is more than one language enabled.
drupal_page_footer in includes/common.inc
Perform end-of-request tasks.
drupal_page_set_cache in includes/common.inc
Store the current page in the cache.
drupal_path_alias_whitelist_rebuild in includes/path.inc
Rebuild the path alias white list.
drupal_path_initialize in includes/path.inc
Initialize the $_GET['q'] variable to the proper normal path.
drupal_pre_render_styles in includes/common.inc
#pre_render callback to add the elements needed for CSS tags to be rendered.
drupal_process_form in includes/form.inc
Processes a form submission.
drupal_serve_page_from_cache in includes/bootstrap.inc
Set HTTP headers in preparation for a cached page response.
drupal_session_initialize in includes/session.inc
Initializes the session handler, starting a session if needed.
drupal_session_regenerate in includes/session.inc
Called when an anonymous user becomes authenticated or vice-versa.
drupal_strip_dangerous_protocols in includes/common.inc
Strips dangerous protocols (e.g. 'javascript:') from a URI.
drupal_theme_initialize in includes/theme.inc
Initialize the theme system by loading the theme.
EmailExampleTestCase::testContactForm in examples/email_example/email_example.test
Verify the functionality of the example module.
email_example_mail in examples/email_example/email_example.module
Implement hook_mail().
email_example_mail_send in examples/email_example/email_example.module
Sends an e-mail.
EnableDisableTestCase::testEntityCache in modules/system/system.test
Tests entity cache after enabling a module with a dependency on an enitity providing module.
error_displayable in includes/errors.inc
Determines whether an error should be displayed.
example_profile_tasks in documentation/developer/example.profile
Perform any final installation tasks for this profile.
FieldCrudTestCase::testCreateField in modules/field/tests/field.test
Test the creation of a field.
field_attach_delete_bundle in modules/field/field.attach.inc
Notify field.module the a bundle was deleted.
field_attach_rename_bundle in modules/field/field.attach.inc
Notify field.module that a bundle was renamed.
field_bundle_settings in modules/field/field.module
Gets or sets administratively defined bundle settings.
field_create_field in modules/field/field.crud.inc
Creates a field.
field_cron in modules/field/field.module
Implements hook_cron().
field_test_create_bundle in modules/field/tests/field_test.entity.inc
Creates a new bundle for test_entity entities.
field_test_delete_bundle in modules/field/tests/field_test.entity.inc
Deletes a bundle for test_entity objects.
field_test_entity_info in modules/field/tests/field_test.entity.inc
Implements hook_entity_info().
field_test_field_available_languages_alter in modules/field/tests/field_test.module
Implements hook_field_available_languages_alter().
field_test_field_language_alter in modules/field/tests/field_test.module
Implements hook_field_language_alter().
field_test_rename_bundle in modules/field/tests/field_test.entity.inc
Renames a bundle for test_entity entities.
FileDirectoryTest::testFileCheckDirectoryHandling in modules/simpletest/tests/file.test
Test directory handling functions.
FileDirectoryTest::testFileDirectoryTemp in modules/simpletest/tests/file.test
Ensure that the file_directory_temp() function always returns a value.
FileTranferTest::testJail in modules/simpletest/tests/filetransfer.test
FileUnmanagedCopyTest::testNormal in modules/simpletest/tests/file.test
Copy a normal file.
FileUnmanagedCopyTest::testOverwriteSelf in modules/simpletest/tests/file.test
Copy a file onto itself.
FileUnmanagedMoveTest::testNormal in modules/simpletest/tests/file.test
Move a normal file.
FileUnmanagedSaveDataTest::testFileSaveData in modules/simpletest/tests/file.test
Test the file_unmanaged_save_data() function.
file_default_scheme in includes/file.inc
Get the default file stream implementation.
file_directory_temp in includes/file.inc
Get the path of system-appropriate temporary directory.
file_ensure_htaccess in includes/file.inc
If missing, create a .htaccess file in each Drupal files directory.
file_field_info in modules/file/file.field.inc
Implements hook_field_info().
file_field_widget_process in modules/file/file.field.inc
An element #process callback for the file_generic field type.
file_get_content_headers in includes/file.inc
Examines a file object and returns appropriate content headers for download.
file_icon_path in modules/file/file.module
Given a file object, create a path to a matching icon.
file_munge_filename in includes/file.inc
Modify a filename as needed for security purposes.
file_save_upload in includes/file.inc
Saves a file upload to a new location.
file_test_file_url_alter in modules/simpletest/tests/file_test.module
Implements hook_file_url_alter().
file_test_get_all_calls in modules/simpletest/tests/file_test.module
Get an array with the calls for all hooks.
file_test_get_calls in modules/simpletest/tests/file_test.module
Get the arguments passed to invocation of a given hook since file_test_reset() was last called.
file_test_set_return in modules/simpletest/tests/file_test.module
Assign a return value for a given operation.
filter_admin_format_form in modules/filter/filter.admin.inc
Generate a text format form.
filter_fallback_format in modules/filter/filter.module
Returns the ID of the fallback text format that all users have access to.
filter_update_7001 in modules/filter/filter.install
Break out "escape HTML filter" option to its own filter.
filter_update_7003 in modules/filter/filter.install
Upgrade the {filter} table for core filters.
filter_update_7005 in modules/filter/filter.install
Integrate text formats with the user permissions system.
filter_update_7008 in modules/filter/filter.install
Grant usage of all text formats to user roles having the 'administer filters' permission.
format_date in includes/common.inc
Formats a date, using a date type or a custom date format string.
format_username in includes/common.inc
Format a username.
form_builder in includes/form.inc
Walk through the structured form array, adding any required properties to each element and mapping the incoming input data to the proper elements. Also, execute any #process handlers attached to a specific element.
form_example_element_demo_form in examples/form_example/form_example_elements.inc
Simple form to demonstrate how to use the various new FAPI elements we've defined.
form_process_date in includes/form.inc
Roll out a single date element.
ForumTestCase::createForum in modules/forum/forum.test
Create a forum container or a forum.
ForumTestCase::editForumTaxonomy in modules/forum/forum.test
Edit the forum taxonomy.
ForumTestCase::testAddOrphanTopic in modules/forum/forum.test
Forum nodes should not be created without choosing forum from select list.
forum_admin_settings in modules/forum/forum.admin.inc
Form builder for the forum settings page.
forum_block_configure in modules/forum/forum.module
Implements hook_block_configure().
forum_block_view in modules/forum/forum.module
Implements hook_block_view().
forum_enable in modules/forum/forum.install
Implements hook_enable().
forum_entity_info_alter in modules/forum/forum.module
Implements hook_entity_info_alter().
forum_form_alter in modules/forum/forum.module
Implements 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_forum_load in modules/forum/forum.module
Returns a tree of all forums for a given taxonomy term ID.
forum_node_validate in modules/forum/forum.module
Implements hook_node_validate().
forum_node_view in modules/forum/forum.module
Implements hook_node_view().
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_term_delete in modules/forum/forum.module
Implements hook_taxonomy_term_delete().
forum_update_7003 in modules/forum/forum.install
Rename field to 'taxonomy_forums'.
hook_block_configure in modules/block/block.api.php
Define a configuration form for a block.
hook_block_view in modules/block/block.api.php
Return a rendered or renderable view of a block.
hook_cron in modules/system/system.api.php
Perform periodic actions.
hook_field_attach_delete_bundle in modules/field/field.api.php
Act on field_attach_delete_bundle.
hook_field_attach_rename_bundle in modules/field/field.api.php
Act on field_attach_rename_bundle().
hook_field_insert in modules/field/field.api.php
Define custom insert behavior for this module's field types.
hook_field_language_alter in modules/field/field.api.php
Perform alterations on field_language() values.
hook_field_update in modules/field/field.api.php
Define custom update behavior for this module's field types.
hook_filetransfer_info_alter in modules/system/system.api.php
Alter the FileTransfer class registry.
hook_file_download in modules/system/system.api.php
Control access to private file downloads and specify HTTP headers.
hook_form_alter in modules/system/system.api.php
Perform alterations before a form is rendered.
hook_image_style_delete in modules/image/image.api.php
Respond to image style deletion.
hook_image_style_save in modules/image/image.api.php
Respond to image style updating.
hook_install_tasks in modules/system/system.api.php
Return an array of tasks to be performed by an installation profile.
hook_mail in modules/system/system.api.php
Prepare a message based on parameters; called from drupal_mail().
hook_mail_alter in modules/system/system.api.php
Alter an email message created with the drupal_mail() function.
hook_menu_delete in modules/menu/menu.api.php
Informs modules that a custom menu was deleted.
hook_menu_insert in modules/menu/menu.api.php
Informs modules that a custom menu was created.
hook_menu_update in modules/menu/menu.api.php
Informs modules that a custom menu was updated.
hook_node_grants_alter in modules/node/node.api.php
Alter user access rules when trying to view, edit or delete a node.
hook_node_prepare in modules/node/node.api.php
Act on a node object about to be shown on the add/edit form.
hook_node_type_update in modules/node/node.api.php
Respond to node type updates.
hook_ranking in modules/node/node.api.php
Provide additional methods of scoring for core search results for nodes.
hook_requirements in modules/system/system.api.php
Check installation requirements and do status reporting.
hook_search_admin in modules/search/search.api.php
Add elements to the search settings form.
hook_shortcut_default_set in modules/shortcut/shortcut.api.php
Return the name of a default shortcut set for the provided user account.
hook_taxonomy_vocabulary_delete in modules/taxonomy/taxonomy.api.php
Respond to the deletion of taxonomy vocabularies.
hook_taxonomy_vocabulary_load in modules/taxonomy/taxonomy.api.php
Act on taxonomy vocabularies when loaded.
hook_tokens in modules/system/system.api.php
Provide replacement values for placeholder tokens.
hook_update_index in modules/search/search.api.php
Update the search index for this module.
hook_update_status_alter in modules/update/update.api.php
Alter the information about available updates for projects.
hook_user_login in modules/user/user.api.php
The user just logged in.
hook_watchdog in modules/system/system.api.php
Log an event message
ImageExampleTestCase::testImageExample in examples/image_example/image_example.test
Test implementations of image API hooks.
ImageExampleTestCase::testImageExamplePage in examples/image_example/image_example.test
Tests for image block provided by module.
image_example_image_style_delete in examples/image_example/image_example.module
Implements hook_image_style_delete().
image_example_image_style_save in examples/image_example/image_example.module
Implements hook_image_style_save().
image_example_style_form in examples/image_example/image_example.pages.inc
Form for uploading and displaying an image using selected style.
image_example_style_form_submit in examples/image_example/image_example.pages.inc
Form Builder; Display a form for uploading an image.
image_field_info in modules/image/image.field.inc
Implements hook_field_info().
image_field_widget_process in modules/image/image.field.inc
An element #process callback for the image_image field type.
image_gd_save in modules/system/image.gd.inc
GD helper to write an image resource to a destination file.
image_gd_settings in modules/system/image.gd.inc
Retrieve settings for the GD2 toolkit.
image_get_toolkit in includes/image.inc
Retrieve the name of the currently used toolkit.
image_module_test_file_download in modules/image/tests/image_module_test.module
image_style_url in modules/image/image.module
Return the URL for an image derivative given a style and image path.
image_test_get_all_calls in modules/simpletest/tests/image_test.module
Get an array with the all the calls to the toolkits since image_test_reset() was called.
install_begin_request in includes/install.core.inc
Begin an installation request, modifying the installation state as needed.
install_configure_form in includes/install.core.inc
Installation task; configure settings for the new site.
install_import_locales_remaining in includes/install.core.inc
Installation task; import remaining languages via a batch process.
install_profile_modules in includes/install.core.inc
Installation task; install required modules via a batch process.
install_run_task in includes/install.core.inc
Runs an individual installation task.
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. The actual header name can be configured by the…
JavaScriptTestCase::setUp in modules/simpletest/tests/common.test
Generates a random database prefix, runs the install scripts on the prefixed database and enable the specified modules. After installation many caches are flushed and the internal browser is setup so that the page requests will run on the new prefix.…
JavaScriptTestCase::testAddJsFileWithQueryString in modules/simpletest/tests/common.test
Tests that the query string remains intact when adding JavaScript files that have query string parameters.
l in includes/common.inc
Formats an internal or external URL link as an HTML anchor tag.
language_default in includes/bootstrap.inc
Default language used on the site
language_initialize in includes/language.inc
Choose a language for the given type based on language negotiation settings.
language_list in includes/bootstrap.inc
Get a list of languages set up indexed by the specified key
language_negotiation_get in includes/language.inc
Check if a language provider is enabled.
language_negotiation_get_switch_links in includes/language.inc
Return the language switch links for the given language.
language_negotiation_purge in includes/language.inc
Updates language configuration to remove any language provider that is no longer defined.
language_provider_invoke in includes/language.inc
Helper function used to cache the language providers results.
language_types in includes/bootstrap.inc
Return an array of the available language types.
language_types_configurable in includes/language.inc
Return only the configurable language types.
language_types_disable in includes/language.inc
Disable the given language types.
locale in modules/locale/locale.module
Provides interface translation services.
LocaleConfigurationTest::testLanguageConfiguration in modules/locale/locale.test
Functional tests for adding, editing and deleting languages.
LocaleLanguageNegotiationInfoFunctionalTest::checkFixedLanguageTypes in modules/locale/locale.test
Check that language negotiation for fixed types matches the stored one.
LocaleLanguageNegotiationInfoFunctionalTest::testInfoAlterations in modules/locale/locale.test
Tests alterations to language types/negotiation info.
LocalePathFunctionalTest::testPathLanguageConfiguration in modules/locale/locale.test
Test if a language can be associated with a path alias.
LocaleTranslationFunctionalTest::testJavaScriptTranslation in modules/locale/locale.test
LocaleUninstallFunctionalTest::testUninstallProcess in modules/locale/locale.test
Check if the values of the Locale variables are correct after uninstall.
locale_add_language in includes/locale.inc
API function to add a language.
locale_date_format_form in modules/locale/locale.admin.inc
Provide date localization configuration options to users.
locale_field_language_alter in modules/locale/locale.module
Implements hook_field_language_alter().
locale_form_node_type_form_alter in modules/locale/locale.module
Implements hook_form_FORM_ID_alter().
locale_get_localized_date_format in includes/locale.inc
Select locale date format details from database.
locale_js_alter in modules/locale/locale.module
Implements hook_js_alter().
locale_languages_delete_form_submit in modules/locale/locale.admin.inc
Process language deletion submissions.
locale_languages_overview_form_submit in modules/locale/locale.admin.inc
Process language overview form submissions, updating existing languages.
locale_language_from_session in includes/locale.inc
Identify language from a request/session parameter.
locale_language_from_url in includes/locale.inc
Identify language via URL prefix or domain.
locale_language_providers_session_form in modules/locale/locale.admin.inc
The URL language provider configuration form.
locale_language_providers_url_form in modules/locale/locale.admin.inc
The URL language provider configuration form.
locale_language_switcher_session in includes/locale.inc
Return the session language switcher block.
locale_language_url_fallback in includes/locale.inc
Determines the language to be assigned to URLs when none is detected.
locale_language_url_rewrite_session in includes/locale.inc
Rewrite URLs for the Session language provider.
locale_language_url_rewrite_url in includes/locale.inc
Rewrite URLs for the URL language provider.
locale_library_alter in modules/locale/locale.module
Implement hook_library_alter().
locale_multilingual_node_type in modules/locale/locale.module
Return whether the given content type has multilingual support.
locale_test_boot in modules/locale/tests/locale_test.module
Implements hook_boot().
locale_test_language_negotiation_info in modules/locale/tests/locale_test.module
Implements hook_language_negotiation_info().
locale_test_language_negotiation_info_alter in modules/locale/tests/locale_test.module
Implements hook_language_negotiation_info_alter().
locale_test_language_types_info in modules/locale/tests/locale_test.module
Implements hook_language_types_info().
locale_test_language_types_info_alter in modules/locale/tests/locale_test.module
Implements hook_language_types_info_alter().
locale_uninstall in modules/locale/locale.install
Implements hook_uninstall().
locale_update_7001 in modules/locale/locale.install
Upgrade language negotiation settings.
locale_url_outbound_alter in modules/locale/locale.module
Implements hook_url_outbound_alter().
MenuRouterTestCase::testMaintenanceModeLoginPaths in modules/simpletest/tests/menu.test
Make sure the maintenance mode can be bypassed using hook_menu_site_status_alter().
MenuUpgradePathTestCase::testMenuUpgrade in modules/simpletest/tests/upgrade/upgrade.menu.test
Test a successful upgrade.
menu_configure in modules/menu/menu.admin.inc
Menu callback; Build the form presenting menu configuration options.
menu_form_node_form_alter in modules/menu/menu.module
Implements hook_form_BASE_FORM_ID_alter().
menu_form_node_type_form_alter in modules/menu/menu.module
Implements hook_form_FORM_ID_alter().
menu_get_ancestors in includes/menu.inc
Returns the ancestors (and relevant placeholders) for any given path.
menu_get_item in includes/menu.inc
Get a router item.
menu_main_menu in includes/menu.inc
Return an array of links to be rendered as the Main menu.
menu_node_prepare in modules/menu/menu.module
Implements hook_node_prepare().
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_secondary_menu in includes/menu.inc
Return an array of links to be rendered as the Secondary links.
menu_set_active_menu_names in includes/menu.inc
Set (or get) the active menu for the current page - determines the active trail.
menu_test_custom_theme in modules/simpletest/tests/menu_test.module
Implement hook_custom_theme().
menu_test_menu_trail_callback in modules/simpletest/tests/menu_test.module
Callback that test menu_test_menu_tree_set_path().
menu_test_theme_callback in modules/simpletest/tests/menu_test.module
Theme callback to use when testing the theme callback functionality.
menu_tree_page_data in includes/menu.inc
Get the data structure representing a named menu tree, based on the current page.
menu_update_7000 in modules/menu/menu.install
Migrate the "Default menu for content" setting to individual node types.
menu_update_7001 in modules/menu/menu.install
Rename "Primary Links" and "Secondary Links" to their Drupal 7 equivalents.
minimal_install in profiles/minimal/minimal.install
Implements hook_install().
ModuleDependencyTestCase::testModuleEnableOrder in modules/system/system.test
Tests that module dependencies are enabled in the correct order via the UI. Dependencies should be enabled before their dependents.
ModuleUnitTest::testDependencyResolution in modules/simpletest/tests/module.test
Test dependency resolution.
module_test_system_info_alter in modules/simpletest/tests/module_test.module
Implements hook_system_info_alter().
NewDefaultThemeBlocks::testNewDefaultThemeBlocks in modules/block/block.test
Check the enabled Bartik blocks are correctly copied over.
nodeapi_example_form_alter in examples/nodeapi_example/nodeapi_example.module
Implements hook_form_alter().
nodeapi_example_node_insert in examples/nodeapi_example/nodeapi_example.module
Implements hook_node_insert().
nodeapi_example_node_load in examples/nodeapi_example/nodeapi_example.module
Implements hook_node_load().
nodeapi_example_node_update in examples/nodeapi_example/nodeapi_example.module
Implements hook_node_update().
nodeapi_example_node_validate in examples/nodeapi_example/nodeapi_example.module
Implements hook_node_validate().
nodeapi_example_node_view in examples/nodeapi_example/nodeapi_example.module
Implements hook_view().
NodeBlockFunctionalTest::testRecentNodeBlock in modules/node/node.test
Test the recent comments block.
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_access_test_form_node_form_alter in modules/node/tests/node_access_test.module
Implements hook_form_node_form_alter().
node_access_test_node_access_records in modules/node/tests/node_access_test.module
Implements hook_node_access_records().
node_access_test_node_grants in modules/node/tests/node_access_test.module
Implements hook_node_grants().
node_admin_paths in modules/node/node.module
Implements hook_admin_paths().
node_block_configure in modules/node/node.module
Implements hook_block_configure().
node_block_view in modules/node/node.module
Implements hook_block_view().
node_feed in modules/node/node.module
Generates and prints an RSS feed.
node_form in modules/node/node.pages.inc
Generate the node add/edit form array.
node_object_prepare in modules/node/node.module
Prepares a node object for editing.
node_page_default in modules/node/node.module
Menu callback; Generate a listing of promoted nodes.
node_permissions_get_configured_types in modules/node/node.module
Returns an array of node types that should be managed by permissions.
node_ranking in modules/node/node.module
Implements hook_ranking().
node_search_admin in modules/node/node.module
Implements hook_search_admin().
node_type_form in modules/node/content_types.inc
Form constructor for the node type editing form.
node_update_7004 in modules/node/node.install
Extend the existing default preview and teaser settings to all node types.
node_update_7006 in modules/node/node.install
Convert body and teaser from node properties to fields, and migrate status/comment/promote and sticky columns to the {node_revision} table.
node_update_7012 in modules/node/node.install
Switches body fields to untranslatable while upgrading from D6 and makes them language neutral.
node_update_index in modules/node/node.module
Implements hook_update_index().
openid_authentication in modules/openid/openid.module
Authenticate a user or attempt registration.
openid_form_user_register_form_alter in modules/openid/openid.module
Implements hook_form_FORM_ID_alter().
openid_test_redirect in modules/openid/tests/openid_test.module
Menu callback; redirect during Normalization/Discovery.
openid_test_yadis_xrds in modules/openid/tests/openid_test.module
Menu callback; XRDS document that references the OP Endpoint URL.
openid_user_insert in modules/openid/openid.module
Implements hook_user_insert().
overlay_overlay_parent_initialize in modules/overlay/overlay.module
Implements hook_overlay_parent_initialize().
PasswordHashingTest::setUp in modules/simpletest/tests/password.test
Generates a random database prefix, runs the install scripts on the prefixed database and enable the specified modules. After installation many caches are flushed and the internal browser is setup so that the page requests will run on the new prefix.…
path_admin_form in modules/path/path.admin.inc
Return a form for editing or creating an individual URL alias.
profile_block_configure in modules/profile/profile.module
Implements hook_block_configure().
profile_block_view in modules/profile/profile.module
Implements hook_block_view().
profile_view_field in modules/profile/profile.module
render_example_demo_form in examples/render_example/render_example.module
Builds the form that offers options of what items to show.
render_example_page_alter in examples/render_example/render_example.module
Implements hook_page_alter().
sample_search_conditions_callback in modules/search/search.api.php
An example conditions callback function for search.
SearchEmbedForm::testEmbeddedForm in modules/search/search.test
Tests that the embedded form appears and can be submitted.
SearchQuery::executeFirstPass in modules/search/search.extender.inc
Executes the first pass query.
SearchQuery::parseWord in modules/search/search.extender.inc
Helper function for parseQuery().
search_admin_settings in modules/search/search.admin.inc
Menu callback: displays the search module settings page.
search_admin_settings_submit in modules/search/search.admin.inc
Form submission handler for search_admin_settings().
search_cron in modules/search/search.module
Implements hook_cron().
search_embedded_form_form in modules/search/tests/search_embedded_form.module
Builds a form for embedding in search results for testing.
search_embedded_form_form_submit in modules/search/tests/search_embedded_form.module
Submit handler for search_embedded_form_form().
search_expand_cjk in modules/search/search.module
Splits CJK (Chinese, Japanese, Korean) text into tokens.
search_get_default_module_info in modules/search/search.module
Returns information about the default search module.
search_get_info in modules/search/search.module
Returns information about available search modules.
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.
shortcut_max_slots in modules/shortcut/shortcut.admin.inc
Returns the maximum number of shortcut "slots" available per shortcut set.
SimpleTestFunctionalTest::testInternalBrowser in modules/simpletest/simpletest.test
Test the internal browsers functionality.
simpletest_clean_environment in modules/simpletest/simpletest.module
Remove all temporary database tables and directories.
simpletest_clean_results_table in modules/simpletest/simpletest.module
Clear the test result tables.
simpletest_settings_form in modules/simpletest/simpletest.pages.inc
Provides settings form for SimpleTest variables.
simpletest_settings_form_validate in modules/simpletest/simpletest.pages.inc
Validation handler for simpletest_settings_form().
simpletest_verbose in modules/simpletest/drupal_web_test_case.php
Logs verbose message in a text file.
SiteMaintenanceTestCase::testSiteMaintenance in modules/system/system.test
Verify site maintenance mode functionality.
standard_install in profiles/standard/standard.install
Implements hook_install().
StatisticsAdminTestCase::testStatisticsSettings in modules/statistics/statistics.test
Verifies that the statistics settings page works.
StatisticsReportsTestCase::testPopularContentBlock in modules/statistics/statistics.test
Tests the "popular content" block.
statistics_block_configure in modules/statistics/statistics.module
Implements hook_block_configure().
statistics_block_info in modules/statistics/statistics.module
Implements hook_block_info().
statistics_block_view in modules/statistics/statistics.module
Implements hook_block_view().
statistics_cron in modules/statistics/statistics.module
Implements hook_cron().
statistics_exit in modules/statistics/statistics.module
Implements hook_exit().
statistics_ranking in modules/statistics/statistics.module
Implements hook_ranking().
statistics_settings_form in modules/statistics/statistics.admin.inc
Form builder; Configure access logging.
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.
StreamWrapperTest::testUriFunctions in modules/simpletest/tests/file.test
Test the URI and target functions.
syslog_form_system_logging_settings_alter in modules/syslog/syslog.module
Implements hook_form_FORM_ID_alter().
syslog_watchdog in modules/syslog/syslog.module
Implements hook_watchdog().
SystemThemeFunctionalTest::testSwitchDefaultTheme in modules/system/system.test
Test switching the default theme.
system_admin_compact_mode in modules/system/system.module
Determines if the current user is in compact mode.
system_clean_url_settings in modules/system/system.admin.inc
Form builder; Configure clean URL settings.
system_cron_settings in modules/system/system.admin.inc
Form builder; Cron form.
system_custom_theme in modules/system/system.module
Implements hook_custom_theme().
system_date_time_settings in modules/system/system.admin.inc
Form builder; Configure the site date and time settings.
system_file_system_settings in modules/system/system.admin.inc
Form builder; Configure the site file handling.
system_form_user_profile_form_alter in modules/system/system.module
Implements hook_form_FORM_ID_alter().
system_form_user_register_form_alter in modules/system/system.module
Implements hook_form_FORM_ID_alter().
system_image_toolkit_settings in modules/system/system.admin.inc
Form builder; Configure site image toolkit usage.
system_logging_settings in modules/system/system.admin.inc
Form builder; Configure error reporting settings.
system_performance_settings in modules/system/system.admin.inc
Form builder; Configure site performance settings.
system_permission in modules/system/system.module
Implements hook_permission().
system_regional_settings in modules/system/system.admin.inc
Form builder; Configure the site regional 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_run_automated_cron in modules/system/system.module
Run the automated cron if enabled.
system_site_information_settings in modules/system/system.admin.inc
Form builder; The general site information form.
system_site_maintenance_mode in modules/system/system.admin.inc
Form builder; Configure the site's maintenance status.
system_stream_wrappers in modules/system/system.module
Implements hook_stream_wrappers().
system_test_init in modules/simpletest/tests/system_test.module
Implements hook_init().
system_test_modules_disabled in modules/simpletest/tests/system_test.module
Implements hook_modules_disabled().
system_test_modules_enabled in modules/simpletest/tests/system_test.module
Implements hook_modules_enabled().
system_test_modules_installed in modules/simpletest/tests/system_test.module
Implements hook_modules_installed().
system_test_modules_uninstalled in modules/simpletest/tests/system_test.module
Implements hook_modules_uninstalled().
system_test_system_info_alter in modules/simpletest/tests/system_test.module
Implements hook_system_info_alter().
system_themes_admin_form in modules/system/system.admin.inc
Form to select the administration theme.
system_themes_page in modules/system/system.admin.inc
Menu callback; displays a listing of all themes.
system_theme_default in modules/system/system.admin.inc
Menu callback; Set the default theme.
system_theme_disable in modules/system/system.admin.inc
Menu callback; Disables a theme.
system_theme_settings in modules/system/system.admin.inc
Form builder; display theme configuration for entire site and individual themes.
system_time_zones in modules/system/system.module
Generate an array of time zones and their local time&date.
system_tokens in modules/system/system.tokens.inc
Implements hook_tokens().
system_update_7004 in modules/system/system.install
Remove hardcoded numeric deltas from all blocks in core.
system_update_7009 in modules/system/system.install
Rename the variable for primary links.
system_update_7013 in modules/system/system.install
Convert default time zone offset to default time zone name.
system_update_7017 in modules/system/system.install
Change the theme setting 'toggle_node_info' into a per content type variable.
system_update_7033 in modules/system/system.install
Move CACHE_AGGRESSIVE to CACHE_NORMAL.
system_update_7034 in modules/system/system.install
Migrate the file path settings and create the new {file_managed} table.
system_update_7046 in modules/system/system.install
Switch from the Minnelli theme if it is the default or admin theme.
system_update_7047 in modules/system/system.install
Normalize the front page path variable.
system_update_7049 in modules/system/system.install
Rename 'Default' profile to 'Standard.'
system_update_7060 in modules/system/system.install
Create fields in preparation for migrating upload.module to file.module.
system_update_7061 in modules/system/system.install
Migrate upload.module data to the newly created file field.
system_update_7066 in modules/system/system.install
Migrate the 'file_directory_temp' variable.
system_update_7067 in modules/system/system.install
Grant administrators permission to view the administration theme.
system_user_login in modules/system/system.module
Implements hook_user_login().
system_user_timezone in modules/system/system.module
Add the time zone field to the user edit and register forms.
t in includes/bootstrap.inc
Translates a string to the current language or to a given language.
taxonomy_field_insert in modules/taxonomy/taxonomy.module
Implements hook_field_insert().
taxonomy_field_update in modules/taxonomy/taxonomy.module
Implements hook_field_update().
taxonomy_form_term in modules/taxonomy/taxonomy.admin.inc
Form function for the term edit form.
taxonomy_node_delete in modules/taxonomy/taxonomy.module
Implements hook_node_delete().
taxonomy_overview_terms in modules/taxonomy/taxonomy.admin.inc
Form builder for the taxonomy terms overview.
taxonomy_select_nodes in modules/taxonomy/taxonomy.module
Return nodes attached to a term across all field instances.
taxonomy_taxonomy_term_delete in modules/taxonomy/taxonomy.module
Implements hook_taxonomy_term_delete().
taxonomy_term_feed in modules/taxonomy/taxonomy.pages.inc
Generate the content feed for a taxonomy term.
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_html in includes/theme.inc
Preprocess variables for html.tpl.php
template_preprocess_maintenance_page in includes/theme.inc
The variables array generated here is a mirror of template_preprocess_page(). This preprocessor will run its course when theme_maintenance_page() is invoked.
template_preprocess_node in modules/node/node.module
Process variables for node.tpl.php
template_preprocess_page in includes/theme.inc
Preprocess variables for page.tpl.php
template_preprocess_user_picture in modules/user/user.module
Process variables for user-picture.tpl.php.
TestingMailSystem::mail in modules/system/system.mail.inc
Accept an e-mail message and store it in a variable.
text_summary in modules/field/modules/text/text.module
Generate a trimmed, formatted version of a text field value.
ThemeUnitTest::testFrontPageThemeSuggestion in modules/simpletest/tests/theme.test
Ensure page-front template suggestion is added when on front page.
theme_aggregator_page_opml in modules/aggregator/aggregator.pages.inc
Prints the OPML page for a feed.
theme_aggregator_page_rss in modules/aggregator/aggregator.pages.inc
Prints the RSS page for a feed.
theme_comment_block in modules/comment/comment.module
Returns HTML for a list of recent comments to be displayed in the comment block.
theme_comment_post_forbidden in modules/comment/comment.module
Returns HTML for a "you can't post comments" notice.
theme_disable in includes/theme.inc
Disable a given list of themes.
theme_get_setting in includes/theme.inc
Retrieve a setting for the current theme or for a given theme.
theme_image_style_preview in modules/image/image.admin.inc
Returns HTML for a preview of an image style.
theme_update_manager_update_form in modules/update/update.manager.inc
Returns HTML for the first page in the update manager wizard to select projects.
theme_update_report in modules/update/update.report.inc
Returns HTML for the project status report.
TokenReplaceTestCase::testSystemSiteTokenReplacement in modules/system/system.test
Tests the generation of all system site information tokens.
tracker_cron in modules/tracker/tracker.module
Implements hook_cron().
translation_admin_paths in modules/translation/translation.module
Implements hook_admin_paths().
translation_language_switch_links_alter in modules/translation/translation.module
Implements hook_language_switch_links_alter().
translation_node_overview in modules/translation/translation.pages.inc
Overview page for a node's translations.
translation_node_view in modules/translation/translation.module
Implements hook_node_view().
translation_supported_type in modules/translation/translation.module
Returns whether the given content type has support for translations.
TriggerContentTestCase::testActionContentMultiple in modules/trigger/trigger.test
Tests multiple node actions.
TriggerCronTestCase::testActionsCron in modules/trigger/trigger.test
Tests assigning multiple actions to the cron trigger.
TriggerOrphanedActionsTestCase::testActionsOrphaned in modules/trigger/trigger.test
Tests logic around orphaned actions.
TriggerOtherTestCase::testActionsComment in modules/trigger/trigger.test
Tests triggering on comment save.
TriggerOtherTestCase::testActionsTaxonomy in modules/trigger/trigger.test
Tests triggering on taxonomy new term.
TriggerOtherTestCase::testActionsUser in modules/trigger/trigger.test
Tests triggering on user create and user login.
trigger_test_generic_any_action in modules/trigger/tests/trigger_test.module
Action fired during the additional trigger tests.
trigger_test_system_cron_conf_action in modules/trigger/tests/trigger_test.module
Implement a configurable Drupal action.
UpdateScriptFunctionalTest::testUpdateAccess in modules/system/system.test
Tests access to the update script.
update_authorize_install_batch_finished in modules/update/update.authorize.inc
Batch callback for when the authorized install batch is finished.
update_authorize_update_batch_finished in modules/update/update.authorize.inc
Batch callback for when the authorized update batch is finished.
update_batch in includes/update.inc
Start the database update batch process.
update_cron in modules/update/update.module
Implements hook_cron().
update_fix_d7_requirements in includes/update.inc
Perform Drupal 6.x to 7.x updates that are required for update.php to function properly.
update_get_projects in modules/update/update.compare.inc
Fetch an array of installed and enabled projects.
update_mail in modules/update/update.module
Implements hook_mail().
update_manager_access in modules/update/update.module
Determine if the current user can access the updater menu items.
update_manager_update_ready_form_submit in modules/update/update.manager.inc
Submit handler for the form to confirm that an update should continue.
update_prepare_d7_bootstrap in includes/update.inc
Performs extra steps required to bootstrap when using a Drupal 6 database.
update_settings in modules/update/update.settings.inc
Form builder for the update settings tab.
update_settings_submit in modules/update/update.settings.inc
Submit handler for the settings tab.
update_test_mock_page in modules/update/tests/update_test.module
Page callback, prints mock XML for the update module.
update_test_system_info_alter in modules/update/tests/update_test.module
Implements hook_system_info_alter().
update_test_update_status_alter in modules/update/tests/update_test.module
Implements hook_update_status_alter().
UpgradePathTestCase::setUp in modules/simpletest/tests/upgrade/upgrade.test
Override of DrupalWebTestCase::setUp() specialized for upgrade testing.
UploadUpgradePathTestCase::testUploadUpgrade in modules/simpletest/tests/upgrade/upgrade.upload.test
Test a successful upgrade.
url in includes/common.inc
Generates an internal or external URL.
UrlAlterFunctionalTest::assertUrlOutboundAlter in modules/simpletest/tests/path.test
Assert that an outbound path is altered to an expected value.
UserBlocksUnitTests::testWhosOnlineBlock in modules/user/user.test
Test the Who's Online block.
UserCancelTestCase::testUserAnonymize in modules/user/user.test
Delete account and anonymize all content.
UserCancelTestCase::testUserCancelUid1 in modules/user/user.test
Tests that user account for uid 1 cannot be cancelled.
UserController::attachLoad in modules/user/user.module
Attaches data to entities upon loading. This will attach fields, if the entity is fieldable. It calls hook_entity_load() for modules which need to add data to all entities. It also calls hook_TYPE_load() on the loaded entities. For…
UserLoginTestCase::assertFailedLogin in modules/user/user.test
Make an unsuccessful login attempt.
UserLoginTestCase::testPasswordRehashOnLogin in modules/user/user.test
Test that user password is re-hashed upon login after changing $count_log2.
UserPictureTestCase::setUp in modules/user/user.test
Generates a random database prefix, runs the install scripts on the prefixed database and enable the specified modules. After installation many caches are flushed and the internal browser is setup so that the page requests will run on the new prefix.…
UserPictureTestCase::testWithGDinvalidDimension in modules/user/user.test
Do the test: GD Toolkit is installed Picture has invalid dimension
UserRegistrationTestCase::testRegistrationDefaultValues in modules/user/user.test
UserUpgradePathNoPasswordTokenTestCase::testUserUpgrade in modules/simpletest/tests/upgrade/upgrade.user.test
Test a successful upgrade.
UserUpgradePathPasswordTokenTestCase::testUserUpgrade in modules/simpletest/tests/upgrade/upgrade.user.test
Test a successful upgrade.
user_account_form in modules/user/user.module
Helper function to add default user account fields to user registration and edit form.
user_admin_settings in modules/user/user.admin.inc
Form builder; Configure user settings for this site.
user_authenticate in modules/user/user.module
Try to validate the user's login credentials locally.
user_block_configure in modules/user/user.module
Implements hook_block_configure().
user_block_view in modules/user/user.module
Implements hook_block_view().
user_cancel_confirm in modules/user/user.pages.inc
Menu callback; Cancel a user account via e-mail confirmation link.
user_cancel_confirm_form in modules/user/user.pages.inc
Form builder; confirm form for cancelling user account.
user_cancel_methods in modules/user/user.pages.inc
Helper function to return available account cancellation methods.
user_comment_view in modules/user/user.module
Implements hook_comment_view().
user_file_download in modules/user/user.module
Implements hook_file_download().
user_hash_password in includes/password.inc
Hash a password using a secure hash.
user_image_style_save in modules/user/user.module
Implements hook_image_style_save().
user_login in modules/user/user.module
Form builder; the main user login form.
user_login_authenticate_validate in modules/user/user.module
A validate handler on the login form. Check supplied username/password against local users table. If successful, $form_state['uid'] is set to the matching user ID.
user_login_block in modules/user/user.module
user_login_final_validate in modules/user/user.module
The final validation handler on the login form.
user_modules_installed in modules/user/user.module
Implements hook_modules_installed().
user_multiple_cancel_confirm in modules/user/user.module
user_needs_new_hash in includes/password.inc
Check whether a user's hashed password needs to be replaced with a new hash.
user_permission in modules/user/user.module
Implements hook_permission().
user_register_access in modules/user/user.module
user_register_submit in modules/user/user.module
Submit handler for the user registration form.
user_save in modules/user/user.module
Save changes to a user account or add a new user.
user_update_7000 in modules/user/user.install
Increase the length of the password field to accommodate better hashes.
user_update_7003 in modules/user/user.install
Update user settings for cancelling user accounts.
user_update_7010 in modules/user/user.install
Update the {user}.signature_format column.
user_update_7017 in modules/user/user.install
Update email templates to use new tokens.
user_validate_current_pass in modules/user/user.module
Form validation handler for the current password on the user_account_form().
user_validate_picture in modules/user/user.module
Validates an image uploaded by a user.
xmlrpc_example_alter_form in examples/xmlrpc_example/xmlrpc_example.module
Present a form to enable or disable the code implemented in hook_xmlrpc_alter.
xmlrpc_example_client_form in examples/xmlrpc_example/xmlrpc_example.module
Present a form to get two arguments, and make a call to an XML-RPC server using these arguments as input, showing the result in a message.
xmlrpc_example_server_form in examples/xmlrpc_example/xmlrpc_example.module
Present a form to configure the service options. In this case the maximum and minimum values for any of the operations (add or subtraction).
xmlrpc_example_xmlrpc_alter in examples/xmlrpc_example/xmlrpc_example.module
Implements hook_xmlrpc_alter().
xmlrpc_test_xmlrpc_alter in modules/simpletest/tests/xmlrpc_test.module
Implements hook_xmlrpc_alter().
_aggregator_get_variables in modules/aggregator/aggregator.module
_authorize_filetransfer_connection_settings in includes/authorize.inc
Generate the Form API array for the settings for a given connection backend.
_block_get_cache_id in modules/block/block.module
Assemble the cache_id to use for a given block.
_book_parent_select in modules/book/book.module
Build the parent selection form element for the node form or outline tab.
_cache_get_object in includes/cache.inc
Get the cache object for a cache bin.
_color_html_alter in modules/color/color.module
Callback for the theme to alter the resources used.
_color_page_alter in modules/color/color.module
Callback for the theme to alter the resources used.
_color_theme_select_form_alter in modules/color/color.module
Helper for hook_form_FORM_ID_alter() implementations.
_comment_update_node_statistics in modules/comment/comment.module
Updates the comment statistics for a given node. This should be called any time a comment is added, deleted, or updated.
_drupal_bootstrap_full in includes/common.inc
_drupal_bootstrap_page_cache in includes/bootstrap.inc
Bootstrap page cache: Try to serve a page from cache.
_drupal_bootstrap_variables in includes/bootstrap.inc
Bootstrap variables: Load system variables and all enabled bootstrap modules.
_drupal_maintenance_theme in includes/theme.maintenance.inc
Sets up the theming system for maintenance page.
_drupal_session_write in includes/session.inc
Writes an entire session to the database (internal use only).
_drupal_theme_access in includes/theme.inc
Helper function for determining access to a theme.
_field_test_storage_data in modules/field/tests/field_test.storage.inc
Helper function: stores or retrieves data from the 'storage backend'.
_file_test_get_return in modules/simpletest/tests/file_test.module
Load the appropriate return value.
_file_test_log_call in modules/simpletest/tests/file_test.module
Store the values passed to a hook invocation.
_filter_html_tips in modules/filter/filter.module
Filter tips callback for HTML filter.
_filter_url in modules/filter/filter.module
URL filter. Automatically converts text into hyperlinks.
_forum_parent_select in modules/forum/forum.admin.inc
Returns a select box for available parent terms
_image_test_log_call in modules/simpletest/tests/image_test.module
Store the values passed to a toolkit call.
_install_configure_form in includes/install.core.inc
Forms API array definition for site configuration.
_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_languages_configure_form_language_table in modules/locale/locale.admin.inc
Helper function to build a language provider table.
_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 in maintenance mode.
_node_rankings in modules/node/node.module
Gather the rankings from the the hook_ranking implementations.
_openid_test_endpoint_associate in modules/openid/tests/openid_test.module
OpenID endpoint; handle "associate" requests (see OpenID Authentication 2.0, section 8).
_openid_test_endpoint_authenticate in modules/openid/tests/openid_test.module
OpenID endpoint; handle "authenticate" requests.
_openid_xri_discovery in modules/openid/openid.module
OpenID discovery method: perform an XRI discovery.
_shortcut_link_form_elements in modules/shortcut/shortcut.admin.inc
Helper function for building a form for adding or editing shortcut links.
_update_cron_notify in modules/update/update.fetch.inc
Perform any notifications that should be done once cron fetches new data.
_update_fetch_data in modules/update/update.fetch.inc
Attempt to drain the queue of tasks for release history data to fetch.
_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_process_fetch_task in modules/update/update.fetch.inc
Process a task to fetch available update data for a single project.
_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.
_xmlrpc_example_server_add in examples/xmlrpc_example/xmlrpc_example.module
This is the callback for the xmlrpc_example.add method.
_xmlrpc_example_server_subtract in examples/xmlrpc_example/xmlrpc_example.module
This is the callback for the xmlrpc_example.subtract xmlrpc method.

Code

includes/bootstrap.inc, line 949

<?php
function variable_get($name, $default = NULL) {
  global $conf;

  return isset($conf[$name]) ? $conf[$name] : $default;
}
?>