Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 9.x
»
https.php
»
DRUPAL_ROOT
Search Drupal 9.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 9.x
Topics
Classes
Functions
Files
Namespaces
Constants
Globals
Deprecated
136 uses of DRUPAL_ROOT
AccountFormController::form
in drupal/
core/
modules/
user/
lib/
Drupal/
user/
AccountFormController.php
Overrides
Drupal\Core\Entity\EntityFormController::form
().
aggregator_test_feed
in drupal/
core/
modules/
aggregator/
tests/
aggregator_test.module
Page callback. Generates a test feed and simulates last-modified and etags.
AnnotatedClassDiscovery::getDefinitions
in drupal/
core/
lib/
Drupal/
Core/
Plugin/
Discovery/
AnnotatedClassDiscovery.php
Implements
Drupal\Component\Plugin\Discovery\DiscoveryInterface::getDefinitions
().
authorize.php
in drupal/
core/
authorize.php
Administrative script for running authorized file operations.
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'].
batch_process
in drupal/
core/
includes/
form.inc
Processes the batch.
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.
country_get_list
in drupal/
core/
modules/
system/
system.module
Get list of all predefined and custom countries.
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::registerModuleNamespaces
in drupal/
core/
lib/
Drupal/
Core/
DrupalKernel.php
Registers the namespace of each enabled module with the class loader.
DrupalKernelTest::testCompileDIC
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
DrupalKernel/
DrupalKernelTest.php
Tests DIC compilation.
drupal_bootstrap
in drupal/
core/
includes/
bootstrap.inc
Ensures Drupal is bootstrapped to the specified phase.
drupal_check_profile
in drupal/
core/
includes/
install.inc
Checks an installation profile's requirements.
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_get_complete_schema
in drupal/
core/
includes/
schema.inc
Gets the whole database schema.
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_maintenance_theme
in drupal/
core/
includes/
bootstrap.inc
Enables use of the theme system without requiring database access.
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.
drupal_verify_profile
in drupal/
core/
includes/
install.inc
Verifies that all dependencies are met for a given installation profile.
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.
field_test.module
in drupal/
core/
modules/
field/
tests/
modules/
field_test/
field_test.module
file.module
in drupal/
core/
modules/
file/
file.module
Defines a "managed_file" Form API field and a "file" field for Field module.
FileStorage::deleteAll
in drupal/
core/
lib/
Drupal/
Component/
PhpStorage/
FileStorage.php
Implements
Drupal\Component\PhpStorage\PhpStorageInterface::deleteAll
().
FileStorageTest::setUp
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
PhpStorage/
FileStorageTest.php
Overrides
\Drupal\simpletest\UnitTestBase::setUp
()
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
filter_xss_bad_protocol
in drupal/
core/
includes/
common.inc
Processes an HTML attribute value and strips dangerous protocols from URLs.
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.
http.php
in drupal/
core/
modules/
system/
tests/
http.php
Fake an HTTP request, for use during testing.
https.php
in drupal/
core/
modules/
system/
tests/
https.php
Fake an HTTPS request, for use during testing.
image_effect_definitions
in drupal/
core/
modules/
image/
image.module
Pull in image effects exposed by modules implementing
hook_image_effect_info
().
index.php
in drupal/
index.php
The PHP page that serves all page requests on a Drupal installation.
install.php
in drupal/
core/
install.php
Initiates a browser-based installation of Drupal.
InstallerLanguageTest::testInstallerTranslationFiles
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
InstallerLanguageTest.php
Tests that the installer can find translation files.
install_begin_request
in drupal/
core/
includes/
install.core.inc
Begins an installation request, modifying the installation state as needed.
install_configure_form
in drupal/
core/
includes/
install.core.inc
Form constructor for a form to configure the new site.
install_goto
in drupal/
core/
includes/
install.inc
Sends the user to a different installer page.
install_import_translations
in drupal/
core/
includes/
install.core.inc
Imports languages via a batch process during installation.
install_run_task
in drupal/
core/
includes/
install.core.inc
Runs an individual installation task.
install_select_language
in drupal/
core/
includes/
install.core.inc
Selects which language to use during installation.
install_select_language_form
in drupal/
core/
includes/
install.core.inc
Form constructor for the language selection form.
install_select_profile
in drupal/
core/
includes/
install.core.inc
Selects which profile to install.
Language::__construct
in drupal/
core/
lib/
Drupal/
Core/
Language/
Language.php
Language constructor builds the default language object.
LanguageManager::getLanguage
in drupal/
core/
lib/
Drupal/
Core/
Language/
LanguageManager.php
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.
language_admin_predefined_list
in drupal/
core/
modules/
language/
language.admin.inc
Prepare a language code list for unused predefined languages.
language_block_info
in drupal/
core/
modules/
language/
language.module
Implements
hook_block_info
().
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.
language_url_outbound_alter
in drupal/
core/
modules/
language/
language.module
Implements
hook_url_outbound_alter
().
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.
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.
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_enable
in drupal/
core/
includes/
module.inc
Enables or installs a given list of modules.
module_load_include
in drupal/
core/
includes/
module.inc
Loads a module include file.
module_load_install
in drupal/
core/
includes/
module.inc
Loads a module's installation hooks.
MTimeProtectedFileStorageTest::setUp
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
PhpStorage/
MTimeProtectedFileStorageTest.php
Overrides
\Drupal\simpletest\UnitTestBase::setUp
()
MTimeProtectedFileStorageTest::testSecurity
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
PhpStorage/
MTimeProtectedFileStorageTest.php
Tests the security of the MTimeProtectedFileStorage implementation.
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
().
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.
simpletest_test_get_all
in drupal/
core/
modules/
simpletest/
simpletest.module
Get a list of all of the tests provided by the system.
st
in drupal/
core/
includes/
install.inc
Translates a string when some systems are not available.
statistics.php
in drupal/
core/
modules/
statistics/
statistics.php
Handles counts of node views via AJAX with minimal bootstrap.
statistics_exit
in drupal/
core/
modules/
statistics/
statistics.module
Implements
hook_exit
().
SystemListingTest::testDirectoryPrecedence
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
SystemListingTest.php
Tests that files in different directories take precedence as expected.
system_batch_page
in drupal/
core/
modules/
system/
system.admin.inc
Default page callback for batches.
system_image_toolkits
in drupal/
core/
modules/
system/
system.module
Implements
hook_image_toolkits
().
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
Menu callback; provides 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
Builds a form of currently disabled modules.
system_modules_uninstall_submit
in drupal/
core/
modules/
system/
system.admin.inc
Processes the submitted uninstall form.
system_status
in drupal/
core/
modules/
system/
system.admin.inc
Menu callback: displays the site status report. Can also be used as a pure check.
system_theme_settings
in drupal/
core/
modules/
system/
system.admin.inc
Form builder; display theme configuration for entire site and individual themes.
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::prepareEnvironment
in drupal/
core/
modules/
simpletest/
lib/
Drupal/
simpletest/
TestBase.php
Prepares the current environment for running the test.
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.
theme_color_scheme_form
in drupal/
core/
modules/
color/
color.module
Returns HTML for a theme's color form.
theme_render_template
in drupal/
core/
includes/
theme.inc
Render a system default template, which is essentially a PHP template.
translation_node_overview
in drupal/
core/
modules/
translation/
translation.pages.inc
Page callback: Displays a list of a node's translations.
TwigFactory::get
in drupal/
core/
lib/
Drupal/
Core/
Template/
TwigFactory.php
Returns a fully initialized Twig_Environment object.
twig_init
in drupal/
core/
themes/
engines/
twig/
twig.engine
Implements
hook_init
().
update_access_allowed
in drupal/
core/
update.php
Determines if the current user is allowed to run
update.php
.
update_do_one
in drupal/
core/
includes/
update.inc
Perform one update and store the results for display on finished page.
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_module_enable
in drupal/
core/
includes/
update.inc
Helper function to install a new module in Drupal 8 via
hook_update_N
().
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.
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.
watchdog_exception
in drupal/
core/
includes/
bootstrap.inc
Logs an exception.
WebTestBase::setUp
in drupal/
core/
modules/
simpletest/
lib/
Drupal/
simpletest/
WebTestBase.php
Sets up a Drupal site for running functional and integration tests.
_aggregator_get_variables
in drupal/
core/
modules/
aggregator/
aggregator.module
Gets the fetcher, parser, and processors.
_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_code
in drupal/
core/
includes/
common.inc
Loads code for subsystems and modules, and registers stream wrappers.
_drupal_bootstrap_configuration
in drupal/
core/
includes/
bootstrap.inc
Sets up the script environment and loads settings.php.
_drupal_bootstrap_database
in drupal/
core/
includes/
bootstrap.inc
Initializes the database system by loading
database.inc
.
_drupal_bootstrap_page_cache
in drupal/
core/
includes/
bootstrap.inc
Attempts to serve a page from the cache.
_drupal_bootstrap_variables
in drupal/
core/
includes/
bootstrap.inc
Loads system variables and all enabled bootstrap modules.
_drupal_error_handler
in drupal/
core/
includes/
bootstrap.inc
Provides custom PHP error handling.
_drupal_error_handler_real
in drupal/
core/
includes/
errors.inc
Provides custom PHP error handling.
_drupal_exception_handler
in drupal/
core/
includes/
bootstrap.inc
Provides custom PHP exception handling.
_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_session_write
in drupal/
core/
includes/
session.inc
Writes an entire session to the database (internal use only).
_drupal_shutdown_function
in drupal/
core/
includes/
bootstrap.inc
Executes registered shutdown functions.
_drupal_theme_initialize
in drupal/
core/
includes/
theme.inc
Initialize the theme system given already loaded information. This function is useful to initialize a theme when no database is present.
_filter_html_image_secure_process
in drupal/
core/
modules/
filter/
filter.module
Process callback for local image filter.
_system_batch_theme
in drupal/
core/
modules/
system/
system.module
Theme callback for the default batch page.
_theme_process_registry
in drupal/
core/
includes/
theme.inc
Process a single implementation of
hook_theme
().