62 uses of DRUPAL_ROOT
- BrowserHtmlDebugTrait::initBrowserOutputFile in core/
tests/ Drupal/ Tests/ BrowserHtmlDebugTrait.php - Creates the directory to store browser output.
- ConfigInstallProfileUnmetDependenciesTest::copyTestingOverrides in core/
modules/ config/ tests/ src/ Functional/ ConfigInstallProfileUnmetDependenciesTest.php - Copy the testing_config_overrides install profile.
- ConfigTranslationInstallTest::setUpLanguage in core/
modules/ config_translation/ tests/ src/ Functional/ ConfigTranslationInstallTest.php - Installer step: Select language.
- CredentialForm::getDatabaseTypes in core/
modules/ migrate_drupal_ui/ src/ Form/ CredentialForm.php - Returns all supported database driver installer objects.
- CredentialFormTest::testCredentialFrom in core/
modules/ migrate_drupal_ui/ tests/ src/ Functional/ CredentialFormTest.php - Test the credential form.
- CronLoggingUpdateTest::setDatabaseDumpFiles in core/
modules/ system/ tests/ src/ Functional/ Update/ CronLoggingUpdateTest.php - Set database dump files to be used.
- 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.
- DefaultConfigTest::assertExtensionConfig in core/
tests/ Drupal/ KernelTests/ Config/ DefaultConfigTest.php - Tests that the config provided by the extension is correct.
- drupal_check_module in core/
includes/ install.inc - Checks a module's requirements.
- drupal_generate_test_ua in core/
includes/ bootstrap.inc - Generates a user agent string with a HMAC and timestamp for tests.
- drupal_get_database_types in core/
includes/ install.inc - Returns all supported database driver installer objects.
- 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 sites/
example.settings.local.php - Local development override configuration feature.
- 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.
- FormValuesTest::testSimpleInvalidCallbacksAjaxFormValue in core/
tests/ Drupal/ FunctionalJavascriptTests/ Ajax/ FormValuesTest.php - Tests that AJAX elements with invalid callbacks return error code 500.
- 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.
- GlobalThemeSettingsDefaultLogoUrlUpdateTest::setDatabaseDumpFiles in core/
modules/ system/ tests/ src/ Functional/ Update/ GlobalThemeSettingsDefaultLogoUrlUpdateTest.php - Set database dump files to be used.
- InfoParserDynamic::__construct in core/
lib/ Drupal/ Core/ Extension/ InfoParserDynamic.php - InfoParserDynamic constructor.
- InstallerDeprecatedDriverNameTest::doInstall in core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerDeprecatedDriverNameTest.php - Execute the non-interactive installer.
- InstallerRouterTest::prepareEnvironment in core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerRouterTest.php - Prepares the current environment for running the test.
- InstallerTest::setUpProfile in core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerTest.php - Installer step: Select installation profile.
- InstallerTestBase::installDrupal in core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerTestBase.php - We are testing the installer, so set up a minimal environment for that.
- InstallerTranslationExistingFileTest::setUpLanguage in core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerTranslationExistingFileTest.php - Installer step: Select language.
- InstallerTranslationMultipleLanguageNonInteractiveTest::prepareEnvironment in core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerTranslationMultipleLanguageNonInteractiveTest.php - Prepares the current environment for running the test.
- InstallerTranslationMultipleLanguageTest::setUpLanguage in core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerTranslationMultipleLanguageTest.php - Installer step: Select language.
- InstallerTranslationNonStandardFilenamesTest::prepareEnvironment in core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerTranslationNonStandardFilenamesTest.php - Prepares the current environment for running the test.
- MediaSettingsDefaultIframeDomainUpdateTest::setDatabaseDumpFiles in core/
modules/ media/ tests/ src/ Functional/ Update/ MediaSettingsDefaultIframeDomainUpdateTest.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.
- Module::getSchemaUpdates in core/
lib/ Drupal/ Core/ Updater/ Module.php - Returns available database schema updates once a new version is installed.
- ModulesListForm::buildForm in core/
modules/ system/ src/ Form/ ModulesListForm.php - Form constructor.
- ModulesListForm::buildModuleList in core/
modules/ system/ src/ Form/ ModulesListForm.php - Helper function for building a list of modules to install.
- ModulesUninstallForm::buildForm in core/
modules/ system/ src/ Form/ ModulesUninstallForm.php - Form constructor.
- module_load_include in core/
includes/ module.inc - Loads a module include file.
- PerformanceTestBase::prepareEnvironment in core/
tests/ Drupal/ FunctionalJavascriptTests/ PerformanceTestBase.php - Prepares the current environment for running the test.
- 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.
- SuperUserAccessInstallTest::prepareEnvironment in core/
tests/ Drupal/ FunctionalTests/ Installer/ SuperUserAccessInstallTest.php - Prepares the current environment for running the test.
- SystemDateSettingsUpdateTest::setDatabaseDumpFiles in core/
modules/ system/ tests/ src/ Functional/ Update/ SystemDateSettingsUpdateTest.php - Set database dump files to be used.
- SystemManager::listRequirements in core/
modules/ system/ src/ SystemManager.php - Displays the site status report. Can also be used as a pure check.
- system_library_info_alter in core/
modules/ system/ system.module - Implements hook_library_info_alter().
- system_preprocess_toolbar in core/
modules/ system/ system.module - Implements hook_preprocess_toolbar().
- system_requirements in core/
modules/ system/ system.install - Implements hook_requirements().
- system_theme_registry_alter in core/
modules/ system/ system.module - Implements hook_theme_registry_alter().
- TestSetupTrait::changeDatabasePrefix in core/
lib/ Drupal/ Core/ Test/ TestSetupTrait.php - Changes the database connection to the prefixed one.
- Theme::getInstallDirectory in core/
lib/ Drupal/ Core/ Updater/ Theme.php - Returns the directory where a theme should be installed.
- UmamiMultilingualInstallTest::setUpLanguage in core/
profiles/ demo_umami/ tests/ src/ Functional/ UmamiMultilingualInstallTest.php - Installer step: Select language.
- UncaughtExceptionTest::assertErrorLogged in core/
tests/ Drupal/ FunctionalTests/ Bootstrap/ UncaughtExceptionTest.php - Asserts that a specific error has been logged to the PHP error log.
- UncaughtExceptionTest::assertNoErrorsLogged in core/
tests/ Drupal/ FunctionalTests/ Bootstrap/ UncaughtExceptionTest.php - Asserts that no errors have been logged to the PHP error.log thus far.
- UpdateSettingsDefaultFetchUrlUpdateTest::setDatabaseDumpFiles in core/
modules/ update/ tests/ src/ Functional/ Update/ UpdateSettingsDefaultFetchUrlUpdateTest.php - Set database dump files to be used.
- UpdateUploadTest::testUploadModule in core/
modules/ update/ tests/ src/ Functional/ UpdateUploadTest.php - Tests upload, extraction, and update of a module.
- Y2038TimestampUpdateTest::setDatabaseDumpFiles in core/
modules/ system/ tests/ src/ Functional/ Update/ Y2038TimestampUpdateTest.php - Set database dump files to be used.
- _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.