You are here

52 uses of DRUPAL_ROOT in Zircon Profile 8

BrowserTestBase::changeDatabasePrefix in core/modules/simpletest/src/BrowserTestBase.php
Changes the database connection to the prefixed one.
BrowserTestBase::installDrupal in core/modules/simpletest/src/BrowserTestBase.php
Installs Drupal into the Simpletest site.
BrowserTestBase::prepareDatabasePrefix in core/modules/simpletest/src/BrowserTestBase.php
Generates a database prefix for running tests.
BrowserTestBase::prepareEnvironment in core/modules/simpletest/src/BrowserTestBase.php
Prepares the current environment for running the test.
BrowserTestBase::writeSettings in core/modules/simpletest/src/BrowserTestBase.php
Rewrites the settings.php file of the test site.
ConfigInstallProfileUnmetDependenciesTest::setUp in core/modules/config/src/Tests/ConfigInstallProfileUnmetDependenciesTest.php
Sets up a Drupal site for running functional and integration tests.
ConfigTranslationInstallTest::setUpLanguage in core/modules/config_translation/src/Tests/ConfigTranslationInstallTest.php
Installer step: Select language.
DefaultExceptionSubscriber::onHtml in core/lib/Drupal/Core/EventSubscriber/DefaultExceptionSubscriber.php
Handles any exception as a generic error page for HTML.
DrupalKernel::bootEnvironment in core/lib/Drupal/Core/DrupalKernel.php
Setup a consistent PHP environment.
DrupalKernel::findSitePath in core/lib/Drupal/Core/DrupalKernel.php
Returns the appropriate site directory for a request.
DrupalKernelTest::getTestKernel in core/modules/system/src/Tests/DrupalKernel/DrupalKernelTest.php
Build a kernel for testings.
DrupalKernelTest::setUp in core/modules/system/src/Tests/DrupalKernel/DrupalKernelTest.php
Performs setup tasks before each individual test method is run.
DrupalKernelTest::testRepeatedBootWithDifferentEnvironment in core/modules/system/src/Tests/DrupalKernel/DrupalKernelTest.php
Tests repeated loading of compiled DIC with different environment.
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.
EntityFileTest::localFileDataProvider in core/modules/file/src/Tests/Migrate/EntityFileTest.php
The data provider for testing the file destination.
example.settings.local.php in sites/example.settings.local.php
Local development override configuration feature.
Extension::unserialize in core/lib/Drupal/Core/Extension/Extension.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/modules/system/src/Tests/Installer/InstallerTranslationMultipleLanguageTest.php
Installer step: Select language.
KernelTestBase::prepareConfigDirectories in core/modules/simpletest/src/KernelTestBase.php
Create and set new configuration directories.
KernelTestBase::setUp in core/modules/simpletest/src/KernelTestBase.php
Performs setup tasks before each individual test method is run.
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.
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.
simpletest_clean_temporary_directories in core/modules/simpletest/simpletest.module
Finds all leftover temporary directories and removes them.
simpletest_log_read in core/modules/simpletest/simpletest.module
Reads the error log and reports any errors as assertion failures.
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::prepareDatabasePrefix in core/modules/simpletest/src/TestBase.php
Generates a database prefix for running tests.
TestBase::prepareEnvironment in core/modules/simpletest/src/TestBase.php
Prepares the current environment for running the test.
TestDiscovery::getExtensions in core/modules/simpletest/src/TestDiscovery.php
Returns all available extensions.
TestDiscovery::registerTestNamespaces in core/modules/simpletest/src/TestDiscovery.php
Registers test namespaces of all available extensions.
TestRunnerKernel::boot in core/lib/Drupal/Core/Test/TestRunnerKernel.php
Boots the current kernel.
Theme::getInstallDirectory in core/lib/Drupal/Core/Updater/Theme.php
Returns the directory where a theme should be installed.
ThemeSettingsForm::buildForm in core/modules/system/src/Form/ThemeSettingsForm.php
WebTestBase::doInstall in core/modules/simpletest/src/WebTestBase.php
Execute the non-interactive installer.
WebTestBase::initSettings in core/modules/simpletest/src/WebTestBase.php
Initialize settings created during install.
WebTestBase::installParameters in core/modules/simpletest/src/WebTestBase.php
Returns the parameters that will be used when Simpletest installs Drupal.
WebTestBase::prepareSettings in core/modules/simpletest/src/WebTestBase.php
Prepares site settings and services before installation.
WebTestBase::writeSettings in core/modules/simpletest/src/WebTestBase.php
Rewrites the settings.php file of the test site.
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.