You are here

gutenberg.services.yml in Gutenberg 8.2

Same filename and directory in other branches
  1. 8 gutenberg.services.yml

File

gutenberg.services.yml
View source
  1. services:
  2. logger.channel.gutenberg:
  3. parent: logger.channel_base
  4. arguments: ['gutenberg']
  5. plugin.manager.gutenberg.plugin:
  6. class: Drupal\gutenberg\GutenbergPluginManager
  7. parent: default_plugin_manager
  8. plugin.manager.gutenberg.library:
  9. class: Drupal\gutenberg\GutenbergLibraryManager
  10. arguments: ['@module_handler', '@theme_handler', '@theme.initialization', '@cache.discovery', '@logger.channel.gutenberg']
  11. gutenberg.block_processor_manager:
  12. class: Drupal\gutenberg\BlockProcessor\GutenbergBlockProcessorManager
  13. tags:
  14. - { name: service_collector, tag: gutenberg_block_processor, call: addProcessor }
  15. gutenberg.block_processor_drupal_blocks:
  16. class: Drupal\gutenberg\BlockProcessor\DrupalBlockProcessor
  17. arguments: ['@gutenberg.blocks_renderer', '@renderer']
  18. tags:
  19. - { name: gutenberg_block_processor, priority: 50 }
  20. gutenberg.block_processor_oembed:
  21. class: Drupal\gutenberg\BlockProcessor\OEmbedProcessor
  22. arguments: ['@renderer', '@module_handler', '@datetime.time', '@gutenberg.oembed_resolver', '@cache.default']
  23. tags:
  24. - { name: gutenberg_block_processor, priority: 50 }
  25. gutenberg.block_processor_resusable_blocks:
  26. class: Drupal\gutenberg\BlockProcessor\ReusableBlockProcessor
  27. arguments: ['@entity_type.manager', '@renderer', '@logger.channel.gutenberg']
  28. tags:
  29. - { name: gutenberg_block_processor, priority: 50 }
  30. gutenberg.block_processor_dynamic_render:
  31. class: Drupal\gutenberg\BlockProcessor\DynamicRenderProcessor
  32. arguments: ['@plugin.manager.gutenberg.library', '@renderer', '@module_handler']
  33. tags:
  34. - { name: gutenberg_block_processor, priority: 0 }
  35. gutenberg.block_processor_field_mapping:
  36. class: Drupal\gutenberg\BlockProcessor\FieldMappingProcessor
  37. arguments: []
  38. tags:
  39. - { name: gutenberg_block_processor, priority: -50 }
  40. gutenberg.blocks_renderer:
  41. class: Drupal\gutenberg\BlocksRendererHelper
  42. arguments: ['@renderer', '@plugin.manager.block', '@current_user', '@context.repository', '@context.handler', '@title_resolver', '@logger.channel.gutenberg']
  43. gutenberg.oembed_resolver:
  44. class: Drupal\gutenberg\OEmbedResolver
  45. arguments: ['@service_container', '@http_client', '@renderer', '@module_handler']
  46. gutenberg.media_entity.renderer:
  47. class: Drupal\gutenberg\MediaEntityRenderer
  48. arguments: ['@renderer', '@entity_type.manager']
  49. gutenberg.media_library.opener:
  50. class: Drupal\gutenberg\MediaLibraryGutenbergOpener
  51. gutenberg.media_type.guesser:
  52. class: Drupal\gutenberg\MediaTypeGuesser
  53. arguments: ['@entity_type.manager', '@gutenberg.file_extension_guesser']
  54. gutenberg.media_type.persistence_manager:
  55. class: Drupal\gutenberg\Persistence\MediaTypePersistenceManager
  56. arguments: ['@entity_type.manager', '@current_user']
  57. gutenberg.media_uploader:
  58. class: Drupal\gutenberg\MediaUploader
  59. arguments: ['@file_system']
  60. gutenberg.entity_type.data_provider_manager:
  61. class: Drupal\gutenberg\DataProvider\EntityDataProviderManager
  62. tags:
  63. - { name: service_collector, tag: entity_type_data_provider, call: registerDataProvider }
  64. gutenberg.entity_type.data_provider.media:
  65. class: Drupal\gutenberg\DataProvider\MediaEntityDataProvider
  66. arguments: ['@entity_type.manager', '@database', '@image.factory']
  67. tags:
  68. - { name: entity_type_data_provider, entity_type: media }
  69. gutenberg.entity_type.data_provider.file:
  70. class: Drupal\gutenberg\DataProvider\FileEntityDataProvider
  71. arguments: ['@entity_type.manager', '@database', '@image.factory']
  72. tags:
  73. - { name: entity_type_data_provider, entity_type: file }
  74. gutenberg.file_extension_guesser:
  75. class: Drupal\gutenberg\FileExtensionGuesser
  76. arguments: ['@module_handler']
  77. gutenberg.media_service:
  78. class: Drupal\gutenberg\Service\MediaService
  79. arguments: ['@gutenberg.media_type.guesser', '@entity_type.manager', '@gutenberg.media_type.persistence_manager', '@gutenberg.entity_type.data_provider_manager', '@module_handler', '@gutenberg.media_uploader', '@renderer', '@entity_type.bundle.info', '@gutenberg.media_entity.renderer', '@database', '@entity_display.repository']
  80. gutenberg.media_library.ui_builder:
  81. class: Drupal\gutenberg\GutenbergMediaLibraryUiBuilder
  82. arguments: ['@entity_type.manager', '@request_stack', '@views.executable', '@form_builder', '@?media_library.opener_resolver']
  83. gutenberg.media_selection_processor_manager:
  84. class: Drupal\gutenberg\MediaSelectionProcessor\MediaSelectionProcessorManager
  85. arguments: []
  86. tags:
  87. - { name: service_collector, tag: media_selection_processor, call: registerProcessor }
  88. gutenberg.media_selection_processor.default:
  89. class: Drupal\gutenberg\MediaSelectionProcessor\DefaultMediaSelectionProcessor
  90. arguments: ['@entity_type.manager']
  91. tags:
  92. - { name: media_selection_processor, processor_name: default }

Services

Namesort descending Description
gutenberg.blocks_renderer Drupal\gutenberg\BlocksRendererHelper
gutenberg.block_processor_drupal_blocks Drupal\gutenberg\BlockProcessor\DrupalBlockProcessor
gutenberg.block_processor_dynamic_render Drupal\gutenberg\BlockProcessor\DynamicRenderProcessor
gutenberg.block_processor_field_mapping Drupal\gutenberg\BlockProcessor\FieldMappingProcessor
gutenberg.block_processor_manager Drupal\gutenberg\BlockProcessor\GutenbergBlockProcessorManager
gutenberg.block_processor_oembed Drupal\gutenberg\BlockProcessor\OEmbedProcessor
gutenberg.block_processor_resusable_blocks Drupal\gutenberg\BlockProcessor\ReusableBlockProcessor
gutenberg.entity_type.data_provider.file Drupal\gutenberg\DataProvider\FileEntityDataProvider
gutenberg.entity_type.data_provider.media Drupal\gutenberg\DataProvider\MediaEntityDataProvider
gutenberg.entity_type.data_provider_manager Drupal\gutenberg\DataProvider\EntityDataProviderManager
gutenberg.file_extension_guesser Drupal\gutenberg\FileExtensionGuesser
gutenberg.media_entity.renderer Drupal\gutenberg\MediaEntityRenderer
gutenberg.media_library.opener Drupal\gutenberg\MediaLibraryGutenbergOpener
gutenberg.media_library.ui_builder Drupal\gutenberg\GutenbergMediaLibraryUiBuilder
gutenberg.media_selection_processor.default Drupal\gutenberg\MediaSelectionProcessor\DefaultMediaSelectionProcessor
gutenberg.media_selection_processor_manager Drupal\gutenberg\MediaSelectionProcessor\MediaSelectionProcessorManager
gutenberg.media_service Drupal\gutenberg\Service\MediaService
gutenberg.media_type.guesser Drupal\gutenberg\MediaTypeGuesser
gutenberg.media_type.persistence_manager Drupal\gutenberg\Persistence\MediaTypePersistenceManager
gutenberg.media_uploader Drupal\gutenberg\MediaUploader
gutenberg.oembed_resolver Drupal\gutenberg\OEmbedResolver
logger.channel.gutenberg
plugin.manager.gutenberg.library Drupal\gutenberg\GutenbergLibraryManager
plugin.manager.gutenberg.plugin Drupal\gutenberg\GutenbergPluginManager