169 uses of DRUPAL_ROOT
- aggregator_test_feed in modules/
aggregator/ tests/ aggregator_test.module - Page callback. Generates a test feed and simulates last-modified and etags.
- authorize.php in ./
authorize.php - Administrative script for running authorized file operations.
- authorize_get_filetransfer in includes/
authorize.inc - Gets a FileTransfer class for a specific transfer method and settings.
- authorize_run_operation in includes/
authorize.inc - Runs the operation specified in $_SESSION['authorize_operation'].
- BatchPercentagesUnitTestCase::setUp in modules/
simpletest/ tests/ batch.test - Sets up unit test environment.
- batch_process in includes/
form.inc - Processes the batch.
- color_get_info in modules/
color/ color.module - Retrieves the Color module information for a particular theme.
- conf_path in includes/
bootstrap.inc - Returns the appropriate configuration directory.
- country_get_list in includes/
locale.inc - Get list of all predefined and custom countries.
- cron.php in ./
cron.php - Handles incoming requests to fire off regularly-scheduled tasks (cron jobs).
- database.inc in includes/
database/ sqlite/ database.inc - Database interface code for SQLite embedded database engine.
- Database::openConnection in includes/
database/ database.inc - Opens a connection to the server specified by the given key and target.
- dblog_watchdog in modules/
dblog/ dblog.module - Implements hook_watchdog().
- DrupalLocalStreamWrapper::getMimeType in includes/
stream_wrappers.inc - Base implementation of getMimeType().
- DrupalSystemListingTestCase::testDirectoryPrecedence in modules/
simpletest/ tests/ common.test - Test that files in different directories take precedence as expected.
- DrupalTestCase::exceptionHandler in modules/
simpletest/ drupal_web_test_case.php - Handle exceptions.
- DrupalWebTestCase::setUp in modules/
simpletest/ drupal_web_test_case.php - Sets up a Drupal site for running functional and integration tests.
- drupal_bootstrap in includes/
bootstrap.inc - Ensures Drupal is bootstrapped to the specified phase.
- drupal_check_profile in includes/
install.inc - Checks an installation profile's requirements.
- drupal_environment_initialize in includes/
bootstrap.inc - Initializes the PHP environment.
- drupal_get_complete_schema in includes/
bootstrap.inc - Gets the whole database schema.
- drupal_get_database_types in includes/
install.inc - Returns all supported database installer objects that are compiled into PHP.
- drupal_get_filename in includes/
bootstrap.inc - Returns and optionally sets the filename for a system resource.
- drupal_install_system in includes/
install.inc - Installs the system module.
- drupal_json_encode in includes/
common.inc - Converts a PHP variable into its JavaScript equivalent.
- drupal_language_initialize in includes/
bootstrap.inc - Initializes all the defined language types.
- drupal_load in includes/
bootstrap.inc - Includes a file with the provided type and name.
- drupal_maintenance_theme in includes/
bootstrap.inc - Enables use of the theme system without requiring database access.
- drupal_rewrite_settings in includes/
install.inc - Replaces values in settings.php with values in the submitted array.
- drupal_settings_initialize in includes/
bootstrap.inc - Sets the base URL, cookie domain, and session name from configuration.
- drupal_system_listing in includes/
common.inc - Returns information about system object files (modules, themes, etc.).
- drupal_verify_profile in includes/
install.inc - Verifies an installation profile for installation.
- field.module in modules/
field/ field.module - Attach custom data fields to Drupal entities.
- FieldTranslationsTestCase::setUp in modules/
field/ tests/ field.test - Set the default field storage backend for fields created during tests.
- field_test.module in modules/
field/ tests/ field_test.module - file.inc in includes/
file.inc - API for handling file uploads and server file management.
- file.module in modules/
file/ file.module - Defines a "managed_file" Form API field and a "file" field for Field module.
- FileTranferTest::setUp in modules/
simpletest/ tests/ filetransfer.test - Sets up a Drupal site for running functional and integration tests.
- FileTranferTest::testJail in modules/
simpletest/ tests/ filetransfer.test - file_register_phar_wrapper in includes/
file.phar.inc - Registers a phar stream wrapper that is more secure than PHP's built-in one.
- filter_xss_bad_protocol in includes/
common.inc - Processes an HTML attribute value and strips dangerous protocols from URLs.
- form_get_cache in includes/
form.inc - Fetches a form from cache.
- GraphUnitTest::setUp in modules/
simpletest/ tests/ graph.test - Sets up unit test environment.
- http.php in modules/
simpletest/ tests/ http.php - Fake an HTTP request, for use during testing.
- https.php in modules/
simpletest/ tests/ https.php - Fake an HTTPS request, for use during testing.
- image_effect_definitions in modules/
image/ image.module - Returns a set of image effects.
- index.php in ./
index.php - The PHP page that serves all page requests on a Drupal installation.
- install.php in ./
install.php - Initiates a browser-based installation of Drupal.
- install_begin_request in includes/
install.core.inc - Begins an installation request, modifying the installation state as needed.
- install_configure_form in includes/
install.core.inc - Form constructor for a form to configure the new site.
- install_goto in includes/
install.inc - Sends the user to a different installer page.
- install_import_locales in includes/
install.core.inc - Imports languages via a batch process during installation.
- install_import_locales_remaining in includes/
install.core.inc - Installation task; import remaining languages via a batch process.
- install_load_profile in includes/
install.core.inc - Loads information about the chosen profile during installation.
- install_run_task in includes/
install.core.inc - Runs an individual installation task.
- install_select_locale in includes/
install.core.inc - Installation task; select which locale to use for the current profile.
- install_select_locale_form in includes/
install.core.inc - Form constructor for the language selection form.
- install_select_profile in includes/
install.core.inc - Selects which profile to install.
- install_select_profile_form in includes/
install.core.inc - Form constructor for the profile selection form.
- install_tasks in includes/
install.core.inc - Returns a list of all tasks the installer currently knows about.
- language_negotiation_get_switch_links in includes/
language.inc - Returns the language switch links for the given language.
- language_provider_invoke in includes/
language.inc - Helper function used to cache the language negotiation providers results.
- LocaleBrowserDetectionTest::testLanguageFromBrowser in modules/
locale/ locale.test - Unit tests for the locale_language_from_browser() function.
- LocaleInstallTest::setUp in modules/
locale/ locale.test - Sets up a Drupal site for running functional and integration tests.
- LocaleLanguageNegotiationInfoFunctionalTest::setUp in modules/
locale/ locale.test - Sets up a Drupal site for running functional and integration tests.
- LocaleMultilingualFieldsFunctionalTest::setUp in modules/
locale/ locale.test - Sets up a Drupal site for running functional and integration tests.
- LocaleTranslationFunctionalTest::testJavaScriptTranslation in modules/
locale/ locale.test - LocaleUILanguageNegotiationTest::setUp in modules/
locale/ locale.test - Sets up a Drupal site for running functional and integration tests.
- LocaleUILanguageNegotiationTest::testUILanguageNegotiation in modules/
locale/ locale.test - Tests for language switching by URL path.
- 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_block_info in modules/
locale/ locale.module - Implements hook_block_info().
- locale_date_format_form_submit in modules/
locale/ locale.admin.inc - Submit handler for configuring localized date formats on the locale_date_format_form.
- locale_field_language_fallback in modules/
locale/ locale.module - Applies language fallback rules to the fields attached to the given entity.
- locale_init in modules/
locale/ locale.module - Implements hook_init().
- locale_js_alter in modules/
locale/ locale.module - Implements hook_js_alter().
- locale_languages_configure_form in modules/
locale/ locale.admin.inc - Setting for language negotiation options
- locale_languages_predefined_form_submit in modules/
locale/ locale.admin.inc - Process the language addition form submission.
- locale_languages_predefined_form_validate in modules/
locale/ locale.admin.inc - Validate the language addition form.
- locale_language_negotiation_info in modules/
locale/ locale.module - Implements hook_language_negotiation_info().
- locale_language_types_info in modules/
locale/ locale.module - Implements hook_language_types_info().
- locale_modules_enabled in modules/
locale/ locale.module - Implements hook_modules_enabled().
- locale_system_update in modules/
locale/ locale.module - Imports translations when new modules or themes are installed.
- locale_translate_import_form_submit in modules/
locale/ locale.admin.inc - Process the locale import form submission.
- locale_update_7001 in modules/
locale/ locale.install - Upgrade language negotiation settings.
- locale_update_7002 in modules/
locale/ locale.install - Updates URL language negotiation by adding the URL fallback detection method.
- locale_url_outbound_alter in modules/
locale/ locale.module - Implements hook_url_outbound_alter().
- menu_execute_active_handler in includes/
menu.inc - Execute the page callback associated with the current path.
- ModuleUpdater::getInstallDirectory in modules/
system/ system.updater.inc - Return the directory where a module should be installed.
- ModuleUpdater::getSchemaUpdates in modules/
system/ system.updater.inc - Return available database schema updates one a new version is installed.
- module_enable in includes/
module.inc - Enables or installs a given list of modules.
- module_load_include in includes/
module.inc - Loads a module include file.
- module_load_install in includes/
module.inc - Loads a module's installation hooks.
- nyan_cat_init in modules/
simpletest/ tests/ themes/ engines/ nyan_cat/ nyan_cat.engine - Includes .theme file from themes.
- nyan_cat_render_template in modules/
simpletest/ tests/ themes/ engines/ nyan_cat/ nyan_cat.engine - Implements hook_render_template().
- PasswordHashingTest::setUp in modules/
simpletest/ tests/ password.test - Sets up a Drupal site for running functional and integration tests.
- phptemplate_init in themes/
engines/ phptemplate/ phptemplate.engine - Implements hook_init().
- registry_update in includes/
bootstrap.inc - Updates the registry based on the latest files listed in the database.
- RequestSanitizerTest::setUp in modules/
simpletest/ tests/ request_sanitizer.test - Sets up unit test environment.
- SearchSimplifyTestCase::testSearchSimplifyUnicode in modules/
search/ search.test - Tests that all Unicode characters simplify correctly.
- simpletest_test_get_all in modules/
simpletest/ simpletest.module - Get a list of all of the tests provided by the system.
- st in includes/
install.inc - Translates a string when some systems are not available.
- statistics.php in modules/
statistics/ statistics.php - Handles counts of node views via Ajax with minimal bootstrap.
- statistics_exit in modules/
statistics/ statistics.module - Implements hook_exit().
- SystemArchiverTest::testArchiverTarball in modules/
system/ system.test - Tests interacting with a tarball archive.
- SystemArchiverTest::_testArchiverOutOfPath in modules/
system/ system.test - Helper to test out-of-path extraction protection.
- system_batch_page in modules/
system/ system.admin.inc - Default page callback for batches.
- system_date_formats in modules/
system/ system.module - Implements hook_date_formats().
- system_image_toolkits in modules/
system/ system.module - Implements hook_image_toolkits().
- system_list in includes/
module.inc - Builds a list of bootstrap modules and enabled modules and themes.
- system_modules in modules/
system/ system.admin.inc - Menu callback; provides module enable/disable interface.
- system_modules_submit in modules/
system/ system.admin.inc - Submit callback; handles modules form submission.
- system_modules_uninstall in modules/
system/ system.admin.inc - Builds a form of currently disabled modules.
- system_modules_uninstall_submit in modules/
system/ system.admin.inc - Processes the submitted uninstall form.
- system_regional_settings in modules/
system/ system.admin.inc - Form builder; Configure the site regional settings.
- system_requirements in modules/
system/ system.install - Implements hook_requirements().
- system_status in modules/
system/ system.admin.inc - Menu callback: displays the site status report. Can also be used as a pure check.
- system_theme_settings in modules/
system/ system.admin.inc - Form builder; display theme configuration for entire site and individual themes.
- TaxonomyVocabularyTestCase::testUninstallReinstall in modules/
taxonomy/ taxonomy.test - Test uninstall and reinstall of the taxonomy module.
- theme in includes/
theme.inc - Generates themed output.
- ThemeUpdater::getInstallDirectory in modules/
system/ system.updater.inc - Return the directory where a theme should be installed.
- theme_color_scheme_form in modules/
color/ color.module - Returns HTML for a theme's color form.
- theme_render_template in includes/
theme.inc - Renders a system default template, which is essentially a PHP template.
- translation_node_overview in modules/
translation/ translation.pages.inc - Page callback: Displays a list of a node's translations.
- UpdateDependencyHookInvocationTestCase::setUp in modules/
simpletest/ tests/ update.test - Sets up a Drupal site for running functional and integration tests.
- UpdateDependencyMissingTestCase::setUp in modules/
simpletest/ tests/ update.test - Sets up a Drupal site for running functional and integration tests.
- UpdateDependencyOrderingTestCase::setUp in modules/
simpletest/ tests/ update.test - Sets up a Drupal site for running functional and integration tests.
- UpdateScriptFunctionalTest::testUpdateAccess in modules/
system/ system.test - Tests access to the update script.
- update_access_allowed in ./
update.php - Determines if the current user is allowed to run update.php.
- update_do_one in includes/
update.inc - Implements callback_batch_operation().
- update_manager_install_form_submit in modules/
update/ update.manager.inc - Form submission handler for update_manager_install_form().
- update_manager_update_ready_form_submit in modules/
update/ update.manager.inc - Form submission handler for update_manager_update_ready_form().
- update_prepare_d7_bootstrap in includes/
update.inc - Performs extra steps required to bootstrap when using a Drupal 6 database.
- update_resolve_dependencies in includes/
update.inc - Resolves dependencies in a set of module updates, and orders them correctly.
- UpgradePathTestCase::setUp in modules/
simpletest/ tests/ upgrade/ upgrade.test - Overrides DrupalWebTestCase::setUp() for upgrade testing.
- url in includes/
common.inc - Generates an internal or external URL.
- UserCancelTestCase::testUserCancelUid1 in modules/
user/ user.test - Tests that user account for uid 1 cannot be cancelled.
- UserLoginTestCase::testPasswordRehashOnLogin in modules/
user/ user.test - Test that user password is re-hashed upon login after changing $count_log2.
- user_authenticate in modules/
user/ user.module - Try to validate the user's login credentials locally.
- 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_validate_current_pass in modules/
user/ user.module - Form validation handler for the current password on the user_account_form().
- watchdog_exception in includes/
bootstrap.inc - Logs an exception.
- xmlrpc in includes/
common.inc - Performs one or more XML-RPC request(s).
- xmlrpc.php in ./
xmlrpc.php - PHP page for handling incoming XML-RPC requests from clients.
- _aggregator_get_variables in modules/
aggregator/ aggregator.module - Gets the fetcher, parser, and processors.
- _batch_finished in includes/
batch.inc - Ends the batch processing.
- _batch_process in includes/
batch.inc - Processes sets in a batch.
- _batch_queue in includes/
form.inc - Returns a queue object for a batch set.
- _drupal_bootstrap_database in includes/
bootstrap.inc - Initializes the database system and registers autoload functions.
- _drupal_bootstrap_full in includes/
common.inc - _drupal_bootstrap_page_cache in includes/
bootstrap.inc - Attempts to serve a page from the cache.
- _drupal_bootstrap_variables in includes/
bootstrap.inc - Loads system variables and all enabled bootstrap modules.
- _drupal_error_handler in includes/
bootstrap.inc - Provides custom PHP error handling.
- _drupal_error_handler_real in includes/
errors.inc - Provides custom PHP error handling.
- _drupal_exception_handler in includes/
bootstrap.inc - Provides custom PHP exception handling.
- _drupal_get_filename_perform_file_scan in includes/
bootstrap.inc - Performs a file system scan to search for a system resource.
- _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_shutdown_function in includes/
bootstrap.inc - Executes registered shutdown functions.
- _drupal_theme_initialize in includes/
theme.inc - Initializes the theme system given already loaded information.
- _install_configure_form in includes/
install.core.inc - Form constructor for a site configuration form.
- _install_select_profile in includes/
install.core.inc - Selects an installation profile.
- _locale_prepare_predefined_list in includes/
locale.inc - Prepares the language code list for a select form item with only the unsupported ones
- _module_build_dependencies in includes/
module.inc - Determines which modules require and are required by each module.
- _registry_check_code in includes/
bootstrap.inc - Checks for a resource in the registry.
- _registry_update in includes/
registry.inc - Does the work for registry_update().
- _system_batch_theme in modules/
system/ system.module - Theme callback for the default batch page.
- _theme_process_registry in includes/
theme.inc - Process a single implementation of hook_theme().
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.