app.root.factory

Same name in other branches
  1. 8.9.x core/core.services.yml \app.root.factory

Class

Drupal\Core\AppRootFactory

File

core/core.services.yml

View source
  1. class: Drupal\Core\AppRootFactory
  2. arguments:
  3. - '@kernel'
  4. public: false
  5. deprecated: 'The "%service_id%" service is deprecated in drupal:9.0.0 and is removed from drupal:10.0.0. Use the app.root parameter instead. See https://www.drupal.org/node/3080612'

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