1. 8.5.x core/core.services.yml app.root
  2. 8.0.x core/core.services.yml app.root
  3. 8.1.x core/core.services.yml app.root
  4. 8.2.x core/core.services.yml app.root
  5. 8.3.x core/core.services.yml app.root
  6. 8.4.x core/core.services.yml app.root
  7. 8.6.x core/core.services.yml app.root

Class

SplString

Tags

  • parameter_service
5 string references to app.root
BlockLocalTasksTest::setUp in core/modules/block/tests/src/Unit/Menu/BlockLocalTasksTest.php
Drupal::root in core/lib/Drupal.php
Gets the app root.
InstallerTestBase::setUp in core/modules/simpletest/src/InstallerTestBase.php
Sets up a Drupal site for running functional and integration tests.
LocalTaskIntegrationTestBase::setUp in core/tests/Drupal/Tests/Core/Menu/LocalTaskIntegrationTestBase.php
SimpletestPhpunitRunCommandTest::setUp in core/modules/simpletest/tests/src/Unit/SimpletestPhpunitRunCommandTest.php

File

core/core.services.yml
core/core.services.yml

View source
  1. class: SplString
  2. factory: 'app.root.factory:get'
  3. tags:
  4. - { name: parameter_service }