34 uses of DRUPAL_ROOT
- Database::getDriverList in core/
lib/ Drupal/ Core/ Database/ Database.php - Returns the list provider for available database drivers.
- DatabaseDriver::load in core/
lib/ Drupal/ Core/ Extension/ DatabaseDriver.php - Loads the main extension file, if any.
- drupal_generate_test_ua in core/
includes/ bootstrap.inc - Generates a user agent string with a HMAC and timestamp for tests.
- drupal_valid_test_ua in core/
includes/ bootstrap.inc - Returns the test prefix if this is an internal request from a test.
- example.settings.local.php in core/
assets/ scaffold/ files/ example.settings.local.php - Local development override configuration feature.
- Extension::__wakeup in core/
lib/ Drupal/ Core/ Extension/ Extension.php - Magic method implementation to unserialize the extension object.
- FinalExceptionSubscriber::simplifyFileInError in core/
lib/ Drupal/ Core/ EventSubscriber/ FinalExceptionSubscriber.php - Attempts to reduce error verbosity in the error message's file path.
- FunctionalTestSetupTrait::doInstall in core/
lib/ Drupal/ Core/ Test/ FunctionalTestSetupTrait.php - Execute the non-interactive installer.
- FunctionalTestSetupTrait::initSettings in core/
lib/ Drupal/ Core/ Test/ FunctionalTestSetupTrait.php - Initialize settings created during install.
- FunctionalTestSetupTrait::prepareEnvironment in core/
lib/ Drupal/ Core/ Test/ FunctionalTestSetupTrait.php - Prepares the current environment for running the test.
- FunctionalTestSetupTrait::prepareSettings in core/
lib/ Drupal/ Core/ Test/ FunctionalTestSetupTrait.php - Prepares site settings and services before installation.
- FunctionalTestSetupTrait::writeSettings in core/
lib/ Drupal/ Core/ Test/ FunctionalTestSetupTrait.php - Rewrites the settings.php file of the test site.
- IconFinderTest::providerGetFileContents in core/
tests/ Drupal/ Tests/ Core/ Theme/ Icon/ IconFinderTest.php - Data provider for ::testGetFileContents().
- IconFinderTest::setUp in core/
tests/ Drupal/ Tests/ Core/ Theme/ Icon/ IconFinderTest.php - IconFinderTest::testGetFilesFromSourcesPath in core/
tests/ Drupal/ Tests/ Core/ Theme/ Icon/ IconFinderTest.php - Test the IconFinder::getFilesFromSources method with paths.
- InstallerTranslationNonStandardFilenamesTest::prepareEnvironment in core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerTranslationNonStandardFilenamesTest.php - Prepares the current environment for running the test.
- LegacyRequirementSeverityTest.php in core/
tests/ Drupal/ KernelTests/ Core/ Extension/ LegacyRequirementSeverityTest.php - LocaleBulkDeprecationTest::setUp in core/
modules/ locale/ tests/ src/ Unit/ LocaleBulkDeprecationTest.php - MenuTreeStorageSchemaUpdateTest::setDatabaseDumpFiles in core/
modules/ system/ tests/ src/ Functional/ Update/ MenuTreeStorageSchemaUpdateTest.php - Set database dump files to be used.
- Module::getInstallDirectory in core/
lib/ Drupal/ Core/ Updater/ Module.php - Returns the directory where a module should be installed.
- PerformanceTestBase::prepareEnvironment in core/
tests/ Drupal/ FunctionalJavascriptTests/ PerformanceTestBase.php - Prepares the current environment for running the test.
- RequirementSeverityTest.php in core/
tests/ Drupal/ Tests/ Core/ Extension/ Requirement/ RequirementSeverityTest.php - SettingsEditor::rewrite in core/
lib/ Drupal/ Core/ Site/ SettingsEditor.php - Replaces values in settings.php with values in the submitted array.
- SiteSettingsForm::buildForm in core/
lib/ Drupal/ Core/ Installer/ Form/ SiteSettingsForm.php - Form constructor.
- SiteSettingsForm::submitForm in core/
lib/ Drupal/ Core/ Installer/ Form/ SiteSettingsForm.php - Form submission handler.
- SiteSettingsForm::validateForm in core/
lib/ Drupal/ Core/ Installer/ Form/ SiteSettingsForm.php - Form validation handler.
- StandardRecipeInstallTest::setUpSite in core/
tests/ Drupal/ FunctionalTests/ Core/ Recipe/ StandardRecipeInstallTest.php - Final installer step: Configure site.
- StatusReportPageTest.php in core/
modules/ system/ tests/ src/ Kernel/ Element/ StatusReportPageTest.php - StatusReportTest.php in core/
tests/ Drupal/ KernelTests/ Core/ Render/ Element/ StatusReportTest.php - SuperUserAccessInstallTest::prepareEnvironment in core/
tests/ Drupal/ FunctionalTests/ Installer/ SuperUserAccessInstallTest.php - Prepares the current environment for running the test.
- SystemHooks::libraryInfoAlter in core/
modules/ system/ src/ Hook/ SystemHooks.php - Implements hook_library_info_alter().
- SystemHooks::themeRegistryAlter in core/
modules/ system/ src/ Hook/ SystemHooks.php - Implements hook_theme_registry_alter().
- Theme::getInstallDirectory in core/
lib/ Drupal/ Core/ Updater/ Theme.php - Returns the directory where a theme should be installed.
- _drupal_shutdown_function in core/
includes/ bootstrap.inc - Executes registered shutdown functions.
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.