You are here

markdown.services.yml in Markdown 8.2

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

File

markdown.services.yml
View source
  1. services:
  2. cache.markdown:
  3. class: Drupal\Core\Cache\CacheBackendInterface
  4. factory: cache_factory:get
  5. arguments: [markdown]
  6. tags:
  7. - { name: cache.bin, default_backend: cache.backend.chainedfast }
  8. logger.channel.markdown:
  9. parent: logger.channel_base
  10. arguments: ['markdown']
  11. markdown:
  12. class: Drupal\markdown\Markdown
  13. arguments: ['@cache.markdown', '@config.factory', '@file_system', '@http_client', '@plugin.manager.markdown.parser']
  14. markdown_plugin_manager:
  15. abstract: true
  16. arguments: ['@container.namespaces', '@cache.discovery', '@config.factory', '@logger.channel.markdown', '@module_handler']
  17. calls:
  18. - [setContainer, ['@service_container']]
  19. tags:
  20. - { name: plugin_manager_cache_clear }
  21. paramconverter.markdown:
  22. class: Drupal\markdown\ParamConverter\MarkdownParamConverter
  23. arguments: ['@config.factory', '@plugin.manager.markdown.parser', '@plugin.manager.markdown.extension', '@plugin.manager.markdown.allowed_html']
  24. tags:
  25. - { name: paramconverter, priority: 10 }
  26. plugin.manager.markdown.extension:
  27. parent: markdown_plugin_manager
  28. class: Drupal\markdown\PluginManager\ExtensionManager
  29. plugin.manager.markdown.parser:
  30. parent: markdown_plugin_manager
  31. class: Drupal\markdown\PluginManager\ParserManager
  32. plugin.manager.markdown.allowed_html:
  33. parent: markdown_plugin_manager
  34. class: Drupal\markdown\PluginManager\AllowedHtmlManager
  35. arguments: ['@plugin.manager.filter', '@theme_handler', '@theme.manager', '@plugin.manager.markdown.parser', '@plugin.manager.markdown.extension']
  36. twig.extension.markdown:
  37. class: Drupal\markdown\Twig\Extension
  38. arguments: ['@markdown']
  39. tags:
  40. - { name: twig.extension }