You are here

markdown.services.yml in Markdown 3.0.x

Same filename and directory in other branches
  1. 8.2 markdown.services.yml

File

markdown.services.yml
View source
  1. services:
  2. cache.markdown:
  3. class: Drupal\Core\Cache\CacheBackendInterface
  4. tags:
  5. - { name: cache.bin, default_backend: cache.backend.chainedfast }
  6. factory: cache_factory:get
  7. arguments: [markdown]
  8. markdown:
  9. class: Drupal\markdown\Markdown
  10. arguments: ['@plugin.manager.markdown.parser']
  11. plugin.manager.markdown.parser:
  12. class: Drupal\markdown\MarkdownParserManager
  13. arguments: ['@container.namespaces', '@cache.discovery', '@module_handler', '@config.factory']
  14. plugin.manager.markdown.extension:
  15. class: Drupal\markdown\MarkdownExtensionManager
  16. arguments: ['@container.namespaces', '@cache.discovery', '@module_handler']
  17. twig.extension.markdown:
  18. class: Drupal\markdown\Twig\Markdown\Extension
  19. arguments: ['@markdown']
  20. tags:
  21. - { name: twig.extension }