Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 8.x
»
bootstrap.inc
»
DRUPAL_ROOT
Search Drupal 8.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 8.x
Topics
Classes
Functions
Files
Namespaces
Services
Constants
Globals
Deprecated
111 uses of DRUPAL_ROOT
AccountFormController::form
in drupal/
core/
modules/
user/
lib/
Drupal/
user/
AccountFormController.php
Overrides
Drupal\Core\Entity\EntityFormController::form
().
AggregatorPluginManager::__construct
in drupal/
core/
modules/
aggregator/
lib/
Drupal/
aggregator/
Plugin/
AggregatorPluginManager.php
Constructs a AggregatorPluginManager object.
AnnotatedClassDiscovery::__construct
in drupal/
core/
lib/
Drupal/
Core/
Plugin/
Discovery/
AnnotatedClassDiscovery.php
Constructs an AnnotatedClassDiscovery object.
AnnotatedClassDiscoveryTest::setUp
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Plugin/
Discovery/
AnnotatedClassDiscoveryTest.php
Sets up unit test environment.
authorize_get_filetransfer
in drupal/
core/
includes/
authorize.inc
Gets a FileTransfer class for a specific transfer method and settings.
authorize_run_operation
in drupal/
core/
includes/
authorize.inc
Runs the operation specified in $_SESSION['authorize_operation'].
color_get_info
in drupal/
core/
modules/
color/
color.module
Retrieves the Color module information for a particular theme.
ConfigUpgradeTest::setUp
in drupal/
core/
modules/
config/
lib/
Drupal/
config/
Tests/
ConfigUpgradeTest.php
Sets up a Drupal site for running functional and integration tests.
config_diff
in drupal/
core/
includes/
config.inc
Return a formatted diff of a named config between two storages.
CoreBundle::registerTwig
in drupal/
core/
lib/
Drupal/
Core/
CoreBundle.php
Registers Twig services.
CustomAnnotationClassDiscoveryTest::setUp
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Plugin/
Discovery/
CustomAnnotationClassDiscoveryTest.php
Sets up unit test environment.
DependencyHookInvocationTest::setUp
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Update/
DependencyHookInvocationTest.php
Sets up a Drupal site for running functional and integration tests.
DependencyMissingTest::setUp
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Update/
DependencyMissingTest.php
Sets up a Drupal site for running functional and integration tests.
DependencyOrderingTest::setUp
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Update/
DependencyOrderingTest.php
Sets up a Drupal site for running functional and integration tests.
DisplayPluginBase::buildOptionsForm
in drupal/
core/
modules/
views/
lib/
Drupal/
views/
Plugin/
views/
display/
DisplayPluginBase.php
Provide the default form for setting options.
DrupalKernel::buildContainer
in drupal/
core/
lib/
Drupal/
Core/
DrupalKernel.php
Builds the service container.
DrupalKernel::getModuleNamespaces
in drupal/
core/
lib/
Drupal/
Core/
DrupalKernel.php
Gets the namespaces of each enabled module.
DrupalKernelTest::setUp
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
DrupalKernel/
DrupalKernelTest.php
Sets up unit test environment.
drupal_bootstrap
in drupal/
core/
includes/
bootstrap.inc
Ensures Drupal is bootstrapped to the specified phase.
drupal_classloader
in drupal/
core/
includes/
bootstrap.inc
Initializes and returns the class loader.
drupal_classloader_register
in drupal/
core/
includes/
bootstrap.inc
Registers an additional namespace.
drupal_environment_initialize
in drupal/
core/
includes/
bootstrap.inc
Initializes the PHP environment.
drupal_get_database_types
in drupal/
core/
includes/
install.inc
Returns all supported database installer objects that are compiled into PHP.
drupal_get_filename
in drupal/
core/
includes/
bootstrap.inc
Returns and optionally sets the filename for a system resource.
drupal_install_system
in drupal/
core/
includes/
install.inc
Installs the system module.
drupal_load
in drupal/
core/
includes/
bootstrap.inc
Includes a file with the provided type and name.
drupal_rewrite_settings
in drupal/
core/
includes/
install.inc
Replaces values in settings.php with values in the submitted array.
drupal_settings_initialize
in drupal/
core/
includes/
bootstrap.inc
Sets the base URL, cookie domain, and session name from configuration.
EntityManager::__construct
in drupal/
core/
lib/
Drupal/
Core/
Entity/
EntityManager.php
Constructs a new Entity plugin manager.
Field::query
in drupal/
core/
modules/
field/
lib/
Drupal/
field/
Plugin/
views/
field/
Field.php
Called to add the field to a query.
field_language_fallback
in drupal/
core/
modules/
field/
field.module
Applies language fallback rules to the fields attached to the given entity.
FileTransferTest::setUp
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
FileTransfer/
FileTransferTest.php
Sets up a Drupal site for running functional and integration tests.
FileTransferTest::testJail
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
FileTransfer/
FileTransferTest.php
find_conf_path
in drupal/
core/
includes/
bootstrap.inc
Finds the appropriate configuration directory for a given host and path.
form_get_cache
in drupal/
core/
includes/
form.inc
Fetches a form from the cache.
ImageItemTest::setUp
in drupal/
core/
modules/
image/
lib/
Drupal/
image/
Tests/
ImageItemTest.php
Set the default field storage backend for fields created during tests.
ImageItemTest::testImageItem
in drupal/
core/
modules/
image/
lib/
Drupal/
image/
Tests/
ImageItemTest.php
Tests using entity fields of the image field type.
install_configure_form
in drupal/
core/
includes/
install.core.inc
Form constructor for a form to configure the new site.
LanguageBlock::getDerivativeDefinitions
in drupal/
core/
modules/
language/
lib/
Drupal/
language/
Plugin/
Derivative/
LanguageBlock.php
Implements
\Drupal\Component\Plugin\Derivative\DerivativeInterface::getDerivativeDefinitions
().
LanguageManager::getLanguage
in drupal/
core/
lib/
Drupal/
Core/
Language/
LanguageManager.php
Returns a language object for the given type.
LanguageNegotiationInfoTest::setUp
in drupal/
core/
modules/
language/
lib/
Drupal/
language/
Tests/
LanguageNegotiationInfoTest.php
Sets up a Drupal site for running functional and integration tests.
LanguageUILanguageNegotiationTest::setUp
in drupal/
core/
modules/
language/
lib/
Drupal/
language/
Tests/
LanguageUILanguageNegotiationTest.php
Sets up a Drupal site for running functional and integration tests.
LanguageUpgradePathTest::testLanguageUpgrade
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Upgrade/
LanguageUpgradePathTest.php
Tests a successful upgrade.
language_install
in drupal/
core/
modules/
language/
language.install
Implements
hook_install
().
language_negotiation_get_switch_links
in drupal/
core/
includes/
language.inc
Returns the language switch links for the given language type.
language_negotiation_include
in drupal/
core/
modules/
language/
language.module
Include negotiation backend functionality.
language_negotiation_method_invoke
in drupal/
core/
includes/
language.inc
Invokes a language negotiation method and caches the results.
LegacyUrlMatcher::matchRequest
in drupal/
core/
lib/
Drupal/
Core/
LegacyUrlMatcher.php
@api
LocaleInstallTest::setUp
in drupal/
core/
modules/
locale/
lib/
Drupal/
locale/
Tests/
LocaleInstallTest.php
Sets up a Drupal site for running functional and integration tests.
LocaleUninstallTest::testUninstallProcess
in drupal/
core/
modules/
locale/
lib/
Drupal/
locale/
Tests/
LocaleUninstallTest.php
Check if the values of the Locale variables are correct after uninstall.
locale_update_8013
in drupal/
core/
modules/
locale/
locale.install
Renames language_default language negotiation method to language_selected.
LocalStream::getMimeType
in drupal/
core/
lib/
Drupal/
Core/
StreamWrapper/
LocalStream.php
Implements
Drupal\Core\StreamWrapper\StreamWrapperInterface::getMimeType
().
Module::getInstallDirectory
in drupal/
core/
lib/
Drupal/
Core/
Updater/
Module.php
Returns the directory where a module should be installed.
Module::getSchemaUpdates
in drupal/
core/
lib/
Drupal/
Core/
Updater/
Module.php
Returns available database schema updates once a new version is installed.
ModuleHandler::enable
in drupal/
core/
lib/
Drupal/
Core/
Extension/
ModuleHandler.php
Enables or installs a given list of modules.
ModuleHandler::load
in drupal/
core/
lib/
Drupal/
Core/
Extension/
ModuleHandler.php
Implements
\Drupal\Core\Extension\ModuleHandlerInterface::load
().
ModuleHandler::loadInclude
in drupal/
core/
lib/
Drupal/
Core/
Extension/
ModuleHandler.php
Implements
\Drupal\Core\Extension\ModuleHandlerInterface::loadInclude
().
ModulesDisabledUpgradePathTest::testDisabledUpgrade
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Upgrade/
ModulesDisabledUpgradePathTest.php
Tests an upgrade with all non-required modules installed but disabled.
module_load_include
in drupal/
core/
includes/
module.inc
Loads a module include file.
PercentagesUnitTest::setUp
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Batch/
PercentagesUnitTest.php
Sets up unit test environment.
PhpStorageFactory::get
in drupal/
core/
lib/
Drupal/
Component/
PhpStorage/
PhpStorageFactory.php
Instantiates a storage controller for generated PHP code.
phptemplate_init
in drupal/
core/
themes/
engines/
phptemplate/
phptemplate.engine
Implements hook_init().
phptemplate_render_template
in drupal/
core/
themes/
engines/
phptemplate/
phptemplate.engine
Renders a system default template, which is essentially a PHP template.
RouteBuilder::rebuild
in drupal/
core/
lib/
Drupal/
Core/
Routing/
RouteBuilder.php
Rebuilds the route info and dumps to dumper.
SearchSimplifyTest::testSearchSimplifyUnicode
in drupal/
core/
modules/
search/
lib/
Drupal/
search/
Tests/
SearchSimplifyTest.php
Tests that all Unicode characters simplify correctly.
SettingsRewriteTest::testDrupalRewriteSettings
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
System/
SettingsRewriteTest.php
Tests the
drupal_rewrite_settings
() function.
simpletest_classloader_register
in drupal/
core/
modules/
simpletest/
simpletest.module
Registers namespaces for disabled modules.
simpletest_phpunit_command
in drupal/
core/
modules/
simpletest/
simpletest.module
Returns the command to run PHPUnit.
simpletest_phpunit_configuration_filepath
in drupal/
core/
modules/
simpletest/
simpletest.module
Returns the path to core's phpunit.xml.dist configuration file.
simpletest_phpunit_run_command
in drupal/
core/
modules/
simpletest/
simpletest.module
Executes the phpunit command.
simpletest_test_get_all
in drupal/
core/
modules/
simpletest/
simpletest.module
Get a list of all of the tests provided by the system.
SystemListingTest::testDirectoryPrecedence
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
SystemListingTest.php
Tests that files in different directories take precedence as expected.
SystemManager::listRequirements
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
SystemManager.php
Displays the site status report. Can also be used as a pure check.
system_batch_page
in drupal/
core/
modules/
system/
system.admin.inc
Default page callback for batches.
system_list
in drupal/
core/
includes/
module.inc
Builds a list of bootstrap modules and enabled modules and themes.
system_modules
in drupal/
core/
modules/
system/
system.admin.inc
Form constructor for the module enable/disable interface.
system_modules_submit
in drupal/
core/
modules/
system/
system.admin.inc
Submit callback; handles modules form submission.
system_modules_uninstall
in drupal/
core/
modules/
system/
system.admin.inc
Form constructor for the uninstalling disabled modules form.
system_modules_uninstall_submit
in drupal/
core/
modules/
system/
system.admin.inc
Processes the submitted uninstall form.
system_requirements
in drupal/
core/
modules/
system/
system.install
Test and report Drupal installation requirements.
system_theme_settings
in drupal/
core/
modules/
system/
system.admin.inc
Form builder; display theme configuration for entire site and individual themes.
template_preprocess_color_scheme_form
in drupal/
core/
modules/
color/
color.module
Prepares variables for color scheme form templates.
template_process_maintenance_page
in drupal/
core/
includes/
theme.inc
Theme process function for theme_maintenance_field().
TestBase::errorHandler
in drupal/
core/
modules/
simpletest/
lib/
Drupal/
simpletest/
TestBase.php
Handle errors during test runs.
TestBase::exceptionHandler
in drupal/
core/
modules/
simpletest/
lib/
Drupal/
simpletest/
TestBase.php
Handle exceptions.
TestBase::prepareConfigDirectories
in drupal/
core/
modules/
simpletest/
lib/
Drupal/
simpletest/
TestBase.php
Create and set new configuration directories.
theme
in drupal/
core/
includes/
theme.inc
Generates themed output.
Theme::getInstallDirectory
in drupal/
core/
lib/
Drupal/
Core/
Updater/
Theme.php
Returns the directory where a theme should be installed.
translation_node_overview
in drupal/
core/
modules/
translation/
translation.pages.inc
Page callback: Displays a list of a node's translations.
twig_init
in drupal/
core/
themes/
engines/
twig/
twig.engine
Implements hook_init().
TypedDataTest::testGetAndSet
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
TypedData/
TypedDataTest.php
Tests the basics around constructing and working with typed data objects.
update.php
in drupal/
core/
update.php
Administrative page for handling updates from one Drupal version to another.
UpdateModuleHandler::enable
in drupal/
core/
lib/
Drupal/
Core/
Extension/
UpdateModuleHandler.php
Enables or installs a given list of modules.
update_manager_install_form_submit
in drupal/
core/
modules/
update/
update.manager.inc
Form submission handler for
update_manager_install_form
().
update_manager_update_ready_form_submit
in drupal/
core/
modules/
update/
update.manager.inc
Form submission handler for
update_manager_update_ready_form
().
update_prepare_d8_bootstrap
in drupal/
core/
includes/
update.inc
Performs extra steps required to bootstrap when using a Drupal 7 database.
UpgradePathTestBase::setUp
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Upgrade/
UpgradePathTestBase.php
Overrides
Drupal\simpletest\WebTestBase::setUp
() for upgrade testing.
ViewsHandlerDiscovery::__construct
in drupal/
core/
modules/
views/
lib/
Drupal/
views/
Plugin/
Discovery/
ViewsHandlerDiscovery.php
Constructs a ViewsHandlerDiscovery object.
views_theme
in drupal/
core/
modules/
views/
views.module
Implement
hook_theme
(). Register views theming functions.
VocabularyUnitTest::testUninstallReinstall
in drupal/
core/
modules/
taxonomy/
lib/
Drupal/
taxonomy/
Tests/
VocabularyUnitTest.php
Test uninstall and reinstall of the taxonomy module.
WebTestBase::setUp
in drupal/
core/
modules/
simpletest/
lib/
Drupal/
simpletest/
WebTestBase.php
Sets up a Drupal site for running functional and integration tests.
WebTestBase::writeSettings
in drupal/
core/
modules/
simpletest/
lib/
Drupal/
simpletest/
WebTestBase.php
Writes a test-specific settings.php file for the child site.
_batch_finished
in drupal/
core/
includes/
batch.inc
Ends the batch processing.
_batch_process
in drupal/
core/
includes/
batch.inc
Processes sets in a batch.
_drupal_bootstrap_page_cache
in drupal/
core/
includes/
bootstrap.inc
Attempts to serve a page from the cache.
_drupal_log_error
in drupal/
core/
includes/
errors.inc
Logs a PHP error or exception and displays an error page in fatal cases.
_drupal_maintenance_theme
in drupal/
core/
includes/
theme.maintenance.inc
Sets up the theming system for maintenance page.
_drupal_shutdown_function
in drupal/
core/
includes/
bootstrap.inc
Executes registered shutdown functions.
_drupal_theme_initialize
in drupal/
core/
includes/
theme.inc
Initializes the theme system given already loaded information.
_filter_html_image_secure_process
in drupal/
core/
modules/
filter/
filter.module
Process callback for local image filter.
_theme_process_registry
in drupal/
core/
includes/
theme.inc
Process a single implementation of
hook_theme
().