You are here

service app.root in Drupal 8

Same name and namespace in other branches
  1. 9 core/core.services.yml \app.root

Class

SplString

Tags

  • parameter_service
26 string references to app.root
BatchController::create in core/modules/system/src/Controller/BatchController.php
Instantiates a new instance of this class.
BlockLocalTasksTest::setUp in core/modules/block/tests/src/Unit/Menu/BlockLocalTasksTest.php
ClassLoaderTest::setUp in core/tests/Drupal/Tests/Core/ClassLoader/ClassLoaderTest.php
DbUpdateController::create in core/modules/system/src/Controller/DbUpdateController.php
Instantiates a new instance of this class.
Drupal::root in core/lib/Drupal.php
Gets the app root.

... See full list

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 }