27 calls to Drupal::root()

DbCommandBase::getDatabaseConnection in core/lib/Drupal/Core/Command/DbCommandBase.php
Parse input options decide on a database.
drupal_check_profile in core/includes/install.inc
Checks an installation profile's requirements.
drupal_verify_profile in core/includes/install.inc
Verifies that all dependencies are met for a given installation profile.
EntityFilteringThemeTest::setUp in core/modules/system/tests/src/Functional/Theme/EntityFilteringThemeTest.php
ExtensionInstallStorage::getAllFolders in core/lib/Drupal/Core/Config/ExtensionInstallStorage.php
Returns a map of all config object names and their folders.
FormValuesTest::testSimpleInvalidCallbacksAjaxFormValue in core/tests/Drupal/FunctionalJavascriptTests/Ajax/FormValuesTest.php
Tests that AJAX elements with invalid callbacks return error code 500.
HelpTopicsSyntaxTest::testHelpTopics in core/modules/help/tests/src/Functional/HelpTopicsSyntaxTest.php
Tests that all Core help topics can be rendered and have good syntax.
HtaccessTest::assertFileAccess in core/modules/system/tests/src/Functional/System/HtaccessTest.php
Asserts that a file exists and requesting it returns a specific response.
ImageStyleDownloadAccessControlTest::testPrivateThroughPublicRoute in core/modules/image/tests/src/Functional/ImageStyleDownloadAccessControlTest.php
Ensures that private:// access is forbidden through image.style_public.
ImageStyleDownloadAccessControlTest::testPublicThroughPrivateRoute in core/modules/image/tests/src/Functional/ImageStyleDownloadAccessControlTest.php
Ensures that public:// access is forbidden through image.style.private.
InstallStorage::getAllFolders in core/lib/Drupal/Core/Config/InstallStorage.php
Returns a map of all config object names and their folders.
install_profile_info in core/includes/install.inc
Retrieves information about an installation profile from its .info.yml file.
install_tasks in core/includes/install.core.inc
Returns a list of all tasks the installer currently knows about.
nyan_cat_render_template in core/modules/system/tests/themes/engines/nyan_cat/nyan_cat.engine
Implements hook_render_template().
PhpUnitTestRunner::runCommand in core/lib/Drupal/Core/Test/PhpUnitTestRunner.php
Executes the PHPUnit command.
RecipeConfigurator::getIncludedRecipe in core/lib/Drupal/Core/Recipe/RecipeConfigurator.php
Gets an included recipe object.
SelectProfileForm::buildForm in core/lib/Drupal/Core/Installer/Form/SelectProfileForm.php
ShutdownFunctionsTest::tearDown in core/modules/system/tests/src/Functional/System/ShutdownFunctionsTest.php
TestFileCreationTrait::getTestFiles in core/tests/Drupal/Tests/TestFileCreationTrait.php
Gets a list of files that can be used in tests.
TestInstallStorage::getAllFolders in core/modules/config/tests/config_test/src/TestInstallStorage.php
UncaughtExceptionTest::testLoggerException in core/tests/Drupal/FunctionalTests/Bootstrap/UncaughtExceptionTest.php
Tests fallback to PHP error log when an exception is thrown while logging.
UncaughtExceptionTest::testUncaughtFatalError in core/tests/Drupal/FunctionalTests/Bootstrap/UncaughtExceptionTest.php
Tests displaying an uncaught fatal error.
ViewsHooks::theme in core/modules/views/src/Hook/ViewsHooks.php
Implements hook_theme().
_batch_finished in core/includes/batch.inc
Ends the batch processing.
_batch_process in core/includes/batch.inc
Processes sets in a batch.
_drupal_log_error in core/includes/errors.inc
Logs a PHP error or exception and displays an error page in fatal cases.
_filter_html_image_secure_process in core/modules/filter/filter.module
Process callback for local image filter.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.