You are here

layout_paragraphs.services.yml in Layout Paragraphs 2.0.x

File

layout_paragraphs.services.yml
View source
  1. services:
  2. layout_paragraphs.renderer:
  3. class: Drupal\layout_paragraphs\LayoutParagraphsRendererService
  4. arguments: [ "@plugin.manager.core.layout", "@entity_type.manager", "@entity.repository", "@language_manager"]
  5. layout_paragraphs.tempstore_repository:
  6. class: Drupal\layout_paragraphs\LayoutParagraphsLayoutTempstoreRepository
  7. arguments: ['@tempstore.private']
  8. layout_paragraphs.param_converter.tempstore:
  9. class: Drupal\layout_paragraphs\Routing\LayoutParagraphsTempstoreParamConverter
  10. arguments:
  11. - '@layout_paragraphs.tempstore_repository'
  12. - '@entity_type.manager'
  13. tags:
  14. - { name: paramconverter, priority: 10 }
  15. layout_paragraphs_allowed_types_subscriber:
  16. class: \Drupal\layout_paragraphs\EventSubscriber\LayoutParagraphsAllowedTypesSubscriber
  17. tags:
  18. - { name: 'event_subscriber' }
  19. layout_paragraphs_update_layout_subscriber:
  20. class: \Drupal\layout_paragraphs\EventSubscriber\LayoutParagraphsUpdateLayoutSubscriber
  21. tags:
  22. - { name: 'event_subscriber' }
  23. layout_paragraphs.builder_access:
  24. class: Drupal\layout_paragraphs\Access\LayoutParagraphsBuilderAccess
  25. arguments:
  26. - '@entity_type.manager'
  27. tags:
  28. - { name: access_check, applies_to: _layout_paragraphs_builder_access }