52 uses of DRUPAL_ROOT
- BaseThemeDefaultDeprecationTest::setUpFilesystem in core/
tests/ Drupal/ KernelTests/ Core/ Theme/ BaseThemeDefaultDeprecationTest.php - Sets up the filesystem, so things like the file directory.
- 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.
- drupal_generate_test_ua in core/
includes/ bootstrap.inc - Generates a user agent string with a HMAC and timestamp for simpletest.
- drupal_get_database_types in core/
includes/ install.inc - Returns all supported database driver installer objects.
- drupal_rewrite_settings in core/
includes/ install.inc - Replaces values in settings.php with values in the submitted array.
- drupal_valid_test_ua in core/
includes/ bootstrap.inc - Returns the test prefix if this is an internal request from SimpleTest.
- example.settings.local.php in core/
assets/ scaffold/ files/ example.settings.local.php - Local development override configuration feature.
- example.settings.local.php in sites/
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::testSimpleAjaxFormValue in core/
tests/ Drupal/ FunctionalJavascriptTests/ Ajax/ FormValuesTest.php - Submits forms with select and checkbox elements via Ajax.
- 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::installParameters in core/
lib/ Drupal/ Core/ Test/ FunctionalTestSetupTrait.php - Returns the parameters that will be used when Simpletest installs Drupal.
- 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.
- InfoParserDynamic::__construct in core/
lib/ Drupal/ Core/ Extension/ InfoParserDynamic.php - InfoParserDynamic constructor.
- InstallerTestBase::setUp in core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerTestBase.php - InstallerTestBase::setUp in core/
modules/ simpletest/ src/ InstallerTestBase.php - Sets up a Drupal site for running functional and integration tests.
- InstallerTranslationMultipleLanguageTest::setUpLanguage in core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerTranslationMultipleLanguageTest.php - Installer step: Select language.
- KernelTestBase::setUp in core/
modules/ simpletest/ src/ KernelTestBase.php - Performs setup tasks before each individual test method is run.
- MigrateUpgradeExecuteTestBase::testMigrateUpgradeExecute in core/
modules/ migrate_drupal_ui/ tests/ src/ Functional/ MigrateUpgradeExecuteTestBase.php - Executes all steps of migrations upgrade.
- 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.
- ReadOnlyModeUpdateTest::setDatabaseDumpFiles in core/
modules/ jsonapi/ tests/ src/ Functional/ Update/ ReadOnlyModeUpdateTest.php - Set database dump files to be used.
- SelectProfileFormTest::setUp in core/
tests/ Drupal/ FunctionalJavascriptTests/ Core/ Installer/ Form/ SelectProfileFormTest.php - SessionHandler::write in core/
lib/ Drupal/ Core/ Session/ SessionHandler.php - SimpleTestTest::stubTest in core/
modules/ simpletest/ src/ Tests/ SimpleTestTest.php - Test to be run and the results confirmed.
- SiteSettingsForm::validateForm in core/
lib/ Drupal/ Core/ Installer/ Form/ SiteSettingsForm.php - Form validation handler.
- StableBaseThemeUpdateTest::prepareEnvironment in core/
modules/ system/ tests/ src/ Functional/ Update/ StableBaseThemeUpdateTest.php - Prepares the current environment for running the test.
- SystemManager::listRequirements in core/
modules/ system/ src/ SystemManager.php - Displays the site status report. Can also be used as a pure check.
- system_requirements in core/
modules/ system/ system.install - Implements hook_requirements().
- TestBase::assertErrorLogged in core/
modules/ simpletest/ src/ TestBase.php - Asserts that a specific error has been logged to the PHP error log.
- TestBase::assertNoErrorsLogged in core/
modules/ simpletest/ src/ TestBase.php - Asserts that no errors have been logged to the PHP error.log thus far.
- TestBase::prepareEnvironment in core/
modules/ simpletest/ src/ TestBase.php - Prepares the current environment for running the test.
- TestDatabase::logRead in core/
lib/ Drupal/ Core/ Test/ TestDatabase.php - Reads the error log and reports any errors as assertion failures.
- 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.
- UpdateUploadTest::testUploadModule in core/
modules/ update/ tests/ src/ Functional/ UpdateUploadTest.php - Tests upload, extraction, and update of a module.
- WebTestBase::__construct in core/
modules/ simpletest/ src/ WebTestBase.php - Constructor for \Drupal\simpletest\WebTestBase.
- _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.