Search for root
| Title | Object type | File name | Summary | 
|---|---|---|---|
| $base_root | global | core/ | 
                                                                                        The root URL of the host, excluding the path. | 
| AliasPrefixList::loadMenuPathRoots | function | core/ | 
                                                                                        Loads menu path roots to prepopulate cache. | 
| AnnotatedClassDiscovery::$rootNamespacesIterator | property | core/ | 
                                                                                        A list of base namespaces with their PSR-4 directories. | 
| AssertPreconditionsTrait::getProjectRoot | function | core/ | 
                                                                                        Returns the absolute path of the project root. | 
| AttributeClassDiscovery::$rootTwoLevelNamespaces | property | core/ | 
                                                                                        List of root namespaces abbreviated to two levels. | 
| BrowserTestBase::setUpAppRoot | function | core/ | 
                                                                                        Sets up the root application path. | 
| BuildTestBase::$serverDocroot | property | core/ | 
                                                                                        The docroot for the server process. | 
| BuildTestBase::getComposerRoot | function | core/ | 
                                                                                        Gets the path to the Composer root directory. | 
| BuildTestBase::getDrupalRoot | function | core/ | 
                                                                                        Get the root path of this Drupal codebase. | 
| BuildTestBase::getDrupalRootStatic | function | core/ | 
                                                                                        Get the root path of this Drupal codebase. | 
| BuildTestBase::getWorkingPathDrupalRoot | function | core/ | 
                                                                                        Gets the working path for Drupal core. | 
| BuildTestBase::getWorkspaceDrupalRoot | function | core/ | 
                                                                                        Gets the path to Drupal root in the workspace directory. | 
| BuildTestTest::testCopyCodebaseDocRoot | function | core/ | 
                                                                                        Tests copying codebase when Drupal and Composer roots are different. | 
| CacheTagsChecksumTrait::rootTransactionEndCallback | function | core/ | 
                                                                                        Callback to be invoked just after a database transaction gets committed. | 
| CastedIntFieldJoinTestBase::$rootUser | property | core/ | 
                                                                                        |
| CollectPathsToExcludeEvent::addPathsRelativeToProjectRoot | function | core/ | 
                                                                                        Flags paths to be ignored, relative to the project root. | 
| CollectPathsToExcludeEvent::addPathsRelativeToWebRoot | function | core/ | 
                                                                                        Flags paths to be ignored, relative to the web root. | 
| ComponentPluginManager::makePathRelativeToLibraryRoot | function | core/ | 
                                                                                        Takes a path and makes it relative to the library provider. | 
| ComposerInspector::getRootPackageInfo | function | core/ | 
                                                                                        Returns the output of `composer show --self` in a directory. | 
| ComposerInspectorTest::testRootPackageInfo | function | core/ | 
                                                                                        Tests root package info. | 
| ComposerPatchesValidatorTest::REQUIRE_PACKAGE_FROM_ROOT | constant | core/ | 
                                                                                        |
| Config::$rootPackage | property | composer/ | 
                                                                                        The root package. | 
| ConfigTest::testNoRootMergeConfig | function | core/ | 
                                                                                        Tests no root merge config. | 
| ConfigTest::testRootMergeConfig | function | core/ | 
                                                                                        Tests root merge config. | 
| ConnectionTest::testDeprecationOfRootInConnectionOptionsFromUrl | function | core/ | 
                                                                                        Confirms deprecation of the $root argument. | 
| ConvertTest::testConvertFileInRoot | function | core/ | 
                                                                                        Tests that files stored in the root folder are converted properly. | 
| DbUpdateController::$root | property | core/ | 
                                                                                        The app root. | 
| DriverSpecificTransactionTestBase::createRootTransaction | function | core/ | 
                                                                                        Create a root Drupal transaction. | 
| DriverSpecificTransactionTestBase::rootTransactionCallback | function | core/ | 
                                                                                        A post-transaction callback for testing purposes. | 
| DriverSpecificTransactionTestBase::testRollbackRoot | function | core/ | 
                                                                                        Tests root transaction rollback. | 
| DriverSpecificTransactionTestBase::testRollbackRootAfterSavepointRollback | function | core/ | 
                                                                                        Tests root transaction rollback after savepoint rollback. | 
| DriverSpecificTransactionTestBase::testRollbackRootWithActiveSavepoint | function | core/ | 
                                                                                        Tests root transaction rollback failure when savepoint is open. | 
| DriverSpecificTransactionTestBase::testRootTransactionEndCallbackAddedWithoutTransaction | function | core/ | 
                                                                                        Tests that adding a post-transaction callback fails with no transaction. | 
| DriverSpecificTransactionTestBase::testRootTransactionEndCallbackCalledAfterDdlAndDestruction | function | core/ | 
                                                                                        Tests post-transaction callback executes after a DDL statement. | 
| DriverSpecificTransactionTestBase::testRootTransactionEndCallbackCalledAfterDdlAndRollbackForTransactionalDdlDatabase | function | core/ | 
                                                                                        Tests post-transaction rollback executes after a DDL statement. | 
| DriverSpecificTransactionTestBase::testRootTransactionEndCallbackCalledAfterRollbackAndDestruction | function | core/ | 
                                                                                        Tests post-transaction callback executes after transaction rollback. | 
| DriverSpecificTransactionTestBase::testRootTransactionEndCallbackCalledOnCommit | function | core/ | 
                                                                                        Tests post-transaction callback executes after transaction commit. | 
| DriverSpecificTransactionTestBase::testRootTransactionEndCallbackFailureUponDdlAndRollbackForNonTransactionalDdlDatabase | function | core/ | 
                                                                                        Tests post-transaction rollback failure after a DDL statement. | 
| Drupal::root | function | core/ | 
                                                                                        Gets the app root. | 
| DrupalCoreComposer::rootComposerJson | function | composer/ | 
                                                                                        Fetch the composer data from the root drupal/drupal project. | 
| DrupalKernel::$root | property | core/ | 
                                                                                        The app root. | 
| DrupalKernel::getAppRoot | function | core/ | 
                                                                                        Gets the app root. | 
| DrupalKernel::guessApplicationRoot | function | core/ | 
                                                                                        Determine the application root directory based on this file's location. | 
| DrupalKernelInterface::getAppRoot | function | core/ | 
                                                                                        Gets the app root. | 
| drupal_phpunit_contrib_extension_directory_roots | function | core/ | 
                                                                                        Returns directories under which contributed extensions may exist. | 
| DRUPAL_ROOT | constant | core/ | 
                                                                                        Defines the root directory of the Drupal installation. | 
| EntityAdapterUnitTest::testGetRoot | function | core/ | 
                                                                                        Tests get root. | 
| EntityReferenceFieldItemNormalizerTrait::normalizeRootReferenceValue | function | core/ | 
                                                                                        |
| ExecutionContext::getRoot | function | core/ | 
                                                                                        |
| Extension::$root | property | core/ | 
                                                                                        The app root. | 
Pagination
- Page 1
 - Next page
 
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.