You are here

components.services.yml in Components! 3.x

Same filename and directory in other branches
  1. 8.2 components.services.yml
  2. 8 components.services.yml

File

components.services.yml
View source
  1. services:
  2. components.registry:
  3. class: Drupal\components\Template\ComponentsRegistry
  4. arguments: ['@extension.list.module', '@extension.list.theme', '@module_handler', '@theme.manager', '@cache.default', '@file_system']
  5. components.twig.loader:
  6. class: Drupal\components\Template\Loader\ComponentsLoader
  7. arguments: ['@components.registry']
  8. tags:
  9. - { name: twig.loader, priority: 200 }
  10. components.twig.extension:
  11. class: Drupal\components\Template\TwigExtension
  12. tags:
  13. - { name: twig.extension, priority: 150 }