You are here

service site.path in Drupal 9

Same name and namespace in other branches
  1. 8 core/core.services.yml \site.path

Class

\SplString

Tags

  • parameter_service
31 string references to site.path
DirectoryTest::testFileCheckLocalDirectoryHandling in core/tests/Drupal/KernelTests/Core/File/DirectoryTest.php
Tests local directory handling functions.
DrupalKernel::compileContainer in core/lib/Drupal/Core/DrupalKernel.php
Compiles a new service container.
drupal_rewrite_settings in core/includes/install.inc
Replaces values in settings.php with values in the submitted array.
DummyReadOnlyStreamWrapper::getDirectoryPath in core/modules/file/tests/file_test/src/StreamWrapper/DummyReadOnlyStreamWrapper.php
Gets the path that the wrapper is responsible for.
DummyStreamWrapper::getDirectoryPath in core/modules/file/tests/file_test/src/StreamWrapper/DummyStreamWrapper.php
Gets the path that the wrapper is responsible for.

... See full list

File

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

View source
  1. class: \SplString
  2. factory:
  3. - '@site.path.factory'
  4. - get
  5. deprecated: 'The "%service_id%" service is deprecated in drupal:9.0.0 and is removed from drupal:10.0.0. Use the site.path parameter instead. See https://www.drupal.org/node/3080612'
  6. tags:
  7. - { name: parameter_service }