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
PathLocatorTest::providerWebRoot function core/modules/package_manager/tests/src/Unit/PathLocatorTest.php Data provider for ::testWebRoot().
PathLocatorTest::testStagingRoot function core/modules/package_manager/tests/src/Unit/PathLocatorTest.php @covers ::getStagingRoot
PathLocatorTest::testWebRoot function core/modules/package_manager/tests/src/Unit/PathLocatorTest.php Tests that the web root is computed correctly.
PathRootsSubscriber class core/lib/Drupal/Core/EventSubscriber/PathRootsSubscriber.php Provides all available first bits of all route paths.
PathRootsSubscriber.php file core/lib/Drupal/Core/EventSubscriber/PathRootsSubscriber.php
PathRootsSubscriber::$pathRoots property core/lib/Drupal/Core/EventSubscriber/PathRootsSubscriber.php Stores the path roots available in the router.
PathRootsSubscriber::$state property core/lib/Drupal/Core/EventSubscriber/PathRootsSubscriber.php The state key value store.
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::doRenderRoot function core/lib/Drupal/Core/Render/Renderer.php See the docs for ::render().
Renderer::renderRoot function core/lib/Drupal/Core/Render/Renderer.php
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 Tests that renderRoot() may not be called recursively.
ResourceResponseValidator::$appRoot property core/modules/jsonapi/src/EventSubscriber/ResourceResponseValidator.php The application's root file path.
RootComposer class composer/Plugin/RecipeUnpack/RootComposer.php Provides access to and manipulation of the root composer files.
RootComposer.php file composer/Plugin/RecipeUnpack/RootComposer.php
RootComposer::$composerLockedContent property composer/Plugin/RecipeUnpack/RootComposer.php The locked root composer.json content.
RootComposer::$composerManipulator property composer/Plugin/RecipeUnpack/RootComposer.php The JSON manipulator for the contents of the root composer.json.
RootComposer::addToComposerLock function composer/Plugin/RecipeUnpack/RootComposer.php Adds an element to the composer lock.
RootComposer::checkRootPackage function composer/Plugin/RecipeUnpack/RootComposer.php Checks that the composer content and root package match.
RootComposer::getComposerLockedContent function composer/Plugin/RecipeUnpack/RootComposer.php Gets the locked root composer.json content.
RootComposer::getComposerManipulator function composer/Plugin/RecipeUnpack/RootComposer.php Retrieves the JSON manipulator for the contents of the root composer.json.
RootComposer::removeFromComposerLock function composer/Plugin/RecipeUnpack/RootComposer.php Removes an element from the composer lock.
RootComposer::writeFiles function composer/Plugin/RecipeUnpack/RootComposer.php Writes the root composer files.
RootComposer::__construct function composer/Plugin/RecipeUnpack/RootComposer.php
RssResponseRelativeUrlFilter::transformRootRelativeUrlsToAbsolute function core/lib/Drupal/Core/EventSubscriber/RssResponseRelativeUrlFilter.php Converts all root-relative URLs to absolute URLs in RSS markup.
SandboxManagerBase::getStagingRoot function core/modules/package_manager/src/SandboxManagerBase.php Returns the directory where stage directories will be created.
SandboxManagerBase::TEMPSTORE_STAGING_ROOT_KEY constant core/modules/package_manager/src/SandboxManagerBase.php The tempstore key under which to store the path of stage root directory.
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 The location of the scaffold fixture.
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.

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