Search for root

  1. Search 7.x for root
  2. Search 9.5.x for root
  3. Search 8.9.x for root
  4. Search 10.3.x for root
  5. Other projects
Title Object type File name Summary
PathRootsSubscriber::getSubscribedEvents function core/lib/Drupal/Core/EventSubscriber/PathRootsSubscriber.php
PathRootsSubscriber::onRouteAlter function core/lib/Drupal/Core/EventSubscriber/PathRootsSubscriber.php Collects all path roots.
PathRootsSubscriber::onRouteFinished function core/lib/Drupal/Core/EventSubscriber/PathRootsSubscriber.php
PathRootsSubscriber::__construct function core/lib/Drupal/Core/EventSubscriber/PathRootsSubscriber.php Constructs a new PathRootsSubscriber instance.
PathRootsSubscriberTest class core/tests/Drupal/Tests/Core/EventSubscriber/PathRootsSubscriberTest.php @coversDefaultClass \Drupal\Core\EventSubscriber\PathRootsSubscriber
@group EventSubscriber
PathRootsSubscriberTest.php file core/tests/Drupal/Tests/Core/EventSubscriber/PathRootsSubscriberTest.php
PathRootsSubscriberTest::$pathRootsSubscriber property core/tests/Drupal/Tests/Core/EventSubscriber/PathRootsSubscriberTest.php The tested path root subscriber.
PathRootsSubscriberTest::$state property core/tests/Drupal/Tests/Core/EventSubscriber/PathRootsSubscriberTest.php The mocked state.
PathRootsSubscriberTest::setUp function core/tests/Drupal/Tests/Core/EventSubscriber/PathRootsSubscriberTest.php
PathRootsSubscriberTest::testSubscribing function core/tests/Drupal/Tests/Core/EventSubscriber/PathRootsSubscriberTest.php Tests altering and finished event.
PhpTufValidatorTest::testInvalidConfigurationInProjectRoot function core/modules/package_manager/tests/src/Kernel/PhpTufValidatorTest.php Tests errors caused by invalid plugin configuration in the project root.
PhpTufValidatorTest::testPluginNotInstalledInProjectRoot function core/modules/package_manager/tests/src/Kernel/PhpTufValidatorTest.php Tests there is an error if the plugin is not installed in the project root.
QuickStartTest::$root property core/tests/Drupal/Tests/Core/Command/QuickStartTest.php The Drupal root directory.
RecipeQuickStartTest::$root property core/tests/Drupal/Tests/Core/Recipe/RecipeQuickStartTest.php The Drupal root directory.
Registry::$root property core/lib/Drupal/Core/Theme/Registry.php The app root.
RelationshipJoinTestBase::$rootUser property core/modules/views/tests/src/Kernel/Plugin/RelationshipJoinTestBase.php
Renderer::$isRenderingRoot property core/lib/Drupal/Core/Render/Renderer.php Whether we're currently in a ::renderRoot() call.
Renderer::renderRoot function core/lib/Drupal/Core/Render/Renderer.php Renders final HTML given a structured array tree.
RendererInterface::renderRoot function core/lib/Drupal/Core/Render/RendererInterface.php Renders final HTML given a structured array tree.
RendererRecursionTest::testRenderRecursionWithNestedRenderRoot function core/tests/Drupal/Tests/Core/Render/RendererRecursionTest.php ::renderRoot() may not be called inside of another ::renderRoot() call.
ResourceResponseValidator::$appRoot property core/modules/jsonapi/src/EventSubscriber/ResourceResponseValidator.php The application's root file path.
RssResponseRelativeUrlFilter::transformRootRelativeUrlsToAbsolute function core/lib/Drupal/Core/EventSubscriber/RssResponseRelativeUrlFilter.php Converts all root-relative URLs to absolute URLs in RSS markup.
ScaffoldTest::$projectRoot property core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ScaffoldTest.php The root of this project.
ScaffoldTestResult::$docroot property core/tests/Drupal/Tests/Composer/Plugin/Scaffold/ScaffoldTestResult.php
ScaffoldTestResult::docroot function core/tests/Drupal/Tests/Composer/Plugin/Scaffold/ScaffoldTestResult.php Returns the location of the docroot from the scaffold test.
StageBase::getStagingRoot function core/modules/package_manager/src/StageBase.php Returns the directory where stage directories will be created.
StageBase::TEMPSTORE_STAGING_ROOT_KEY constant core/modules/package_manager/src/StageBase.php The tempstore key under which to store the path of stage root directory.
SymlinkValidatorTest::testSymlinkPointingOutsideProjectRoot function core/modules/package_manager/tests/src/Kernel/SymlinkValidatorTest.php Tests that relative symlinks cannot point outside the project root.
TableDragTest::testRootLeafDraggableRowsWithKeyboard function core/tests/Drupal/FunctionalJavascriptTests/TableDrag/TableDragTest.php Tests the root and leaf behaviors for rows.
TemplateProjectTestBase::$webRoot property core/modules/package_manager/tests/src/Build/TemplateProjectTestBase.php The web root of the test site, relative to the workspace directory.
TemplateProjectTestBase::getWebRoot function core/modules/package_manager/tests/src/Build/TemplateProjectTestBase.php Returns the full path to the test site's document root.
TestDiscovery::$root property core/lib/Drupal/Core/Test/TestDiscovery.php The app root.
TestRequirementsTrait::getDrupalRoot function core/tests/Drupal/Tests/TestRequirementsTrait.php Returns the Drupal root directory.
TestSetupTrait::$root property core/lib/Drupal/Core/Test/TestSetupTrait.php The app root.
test_ckeditor_stylesheets_drupal_root.info.yml file core/modules/system/tests/themes/test_ckeditor_stylesheets_drupal_root/test_ckeditor_stylesheets_drupal_root.info.yml core/modules/system/tests/themes/test_ckeditor_stylesheets_drupal_root/test_ckeditor_stylesheets_drupal_root.info.yml
Theme::getRootDirectoryRelativePath function core/lib/Drupal/Core/Updater/Theme.php Returns the name of the root directory under which projects will be copied.
ThemeHandler::$root property core/lib/Drupal/Core/Extension/ThemeHandler.php The app root.
ThemeInitialization::$root property core/lib/Drupal/Core/Theme/ThemeInitialization.php The app root.
ThemeManager::$root property core/lib/Drupal/Core/Theme/ThemeManager.php The app root.
TransactionManager::processRootCommit function core/modules/mysql/src/Driver/Database/mysql/TransactionManager.php Processes the root transaction commit.
TransactionManagerBase::$rootId property core/lib/Drupal/Core/Database/Transaction/TransactionManagerBase.php The ID of the root Transaction object.
TransactionManagerBase::processRootCommit function core/lib/Drupal/Core/Database/Transaction/TransactionManagerBase.php Processes the root transaction commit.
TransactionManagerBase::processRootRollback function core/lib/Drupal/Core/Database/Transaction/TransactionManagerBase.php Processes the root transaction rollback.
TypedConfigManager::getStaticTypeRoot function core/lib/Drupal/Core/Config/TypedConfigManager.php Gets the static type root for a config schema object.
TypedData::getRoot function core/lib/Drupal/Core/TypedData/TypedData.php Returns the root of the typed data tree.
TypedDataInterface::getRoot function core/lib/Drupal/Core/TypedData/TypedDataInterface.php Returns the root of the typed data tree.
UnitTestCase::$root property core/tests/Drupal/Tests/UnitTestCase.php The app root.
update.root service core/modules/update/update.services.yml Drupal\update\UpdateRoot
UpdateManagerInstall::$root property core/modules/update/src/Form/UpdateManagerInstall.php The root location under which installed projects will be saved.
Updater::$root property core/lib/Drupal/Core/Updater/Updater.php The root directory under which new projects will be copied.

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