layout_builder.services.yml

Same filename in other branches
  1. 9 core/modules/layout_builder/layout_builder.services.yml
  2. 10 core/modules/layout_builder/layout_builder.services.yml
  3. 11.x core/modules/layout_builder/layout_builder.services.yml
core/modules/layout_builder/layout_builder.services.yml

File

core/modules/layout_builder/layout_builder.services.yml

View source
  1. services:
  2. layout_builder.tempstore_repository:
  3. class: Drupal\layout_builder\LayoutTempstoreRepository
  4. arguments: ['@tempstore.shared']
  5. access_check.entity.layout_builder_access:
  6. class: Drupal\layout_builder\Access\LayoutBuilderAccessCheck
  7. tags:
  8. - { name: access_check, applies_to: _layout_builder_access }
  9. access_check.entity.layout:
  10. # Deprecated in Drupal 8.7.0 and will be removed before Drupal 9.0.0. Use
  11. # access_check.entity.layout_builder_access instead. See
  12. # https://www.drupal.org/node/3039551.
  13. class: Drupal\layout_builder\Access\LayoutSectionAccessCheck
  14. tags:
  15. - { name: access_check, applies_to: _has_layout_section }
  16. plugin.manager.layout_builder.section_storage:
  17. class: Drupal\layout_builder\SectionStorage\SectionStorageManager
  18. parent: default_plugin_manager
  19. arguments: ['@context.handler']
  20. layout_builder.routes:
  21. class: Drupal\layout_builder\Routing\LayoutBuilderRoutes
  22. arguments: ['@plugin.manager.layout_builder.section_storage']
  23. tags:
  24. - { name: event_subscriber }
  25. layout_builder.param_converter:
  26. class: Drupal\layout_builder\Routing\LayoutTempstoreParamConverter
  27. arguments: ['@layout_builder.tempstore_repository', '@plugin.manager.layout_builder.section_storage']
  28. tags:
  29. - { name: paramconverter, priority: 10 }
  30. cache_context.layout_builder_is_active:
  31. class: Drupal\layout_builder\Cache\LayoutBuilderIsActiveCacheContext
  32. arguments: ['@current_route_match']
  33. tags:
  34. - { name: cache.context}
  35. cache_context.route.name.is_layout_builder_ui:
  36. class: Drupal\layout_builder\Cache\LayoutBuilderUiCacheContext
  37. arguments: ['@current_route_match']
  38. tags:
  39. - { name: cache.context }
  40. layout_builder.sample_entity_generator:
  41. class: Drupal\layout_builder\Entity\LayoutBuilderSampleEntityGenerator
  42. arguments: ['@tempstore.shared', '@entity_type.manager']
  43. layout_builder.render_block_component_subscriber:
  44. class: Drupal\layout_builder\EventSubscriber\BlockComponentRenderArray
  45. arguments: ['@current_user']
  46. tags:
  47. - { name: event_subscriber }
  48. logger.channel.layout_builder:
  49. parent: logger.channel_base
  50. arguments: ['layout_builder']
  51. inline_block.usage:
  52. class: Drupal\layout_builder\InlineBlockUsage
  53. arguments: ['@database']
  54. layout_builder.controller.entity_form:
  55. # Override the entity form controller to handle the entity layout_builder
  56. # operation.
  57. decorates: controller.entity_form
  58. class: Drupal\layout_builder\Controller\LayoutBuilderHtmlEntityFormController
  59. public: false
  60. arguments: ['@layout_builder.controller.entity_form.inner']

Services

Title Deprecated Summary
access_check.entity.layout Drupal\layout_builder\Access\LayoutSectionAccessCheck
access_check.entity.layout_builder_access Drupal\layout_builder\Access\LayoutBuilderAccessCheck
cache_context.layout_builder_is_active Drupal\layout_builder\Cache\LayoutBuilderIsActiveCacheContext
cache_context.route.name.is_layout_builder_ui Drupal\layout_builder\Cache\LayoutBuilderUiCacheContext
inline_block.usage Drupal\layout_builder\InlineBlockUsage
layout_builder.controller.entity_form Drupal\layout_builder\Controller\LayoutBuilderHtmlEntityFormController
layout_builder.param_converter Drupal\layout_builder\Routing\LayoutTempstoreParamConverter
layout_builder.render_block_component_subscriber Drupal\layout_builder\EventSubscriber\BlockComponentRenderArray
layout_builder.routes Drupal\layout_builder\Routing\LayoutBuilderRoutes
layout_builder.sample_entity_generator Drupal\layout_builder\Entity\LayoutBuilderSampleEntityGenerator
layout_builder.tempstore_repository Drupal\layout_builder\LayoutTempstoreRepository
logger.channel.layout_builder
plugin.manager.layout_builder.section_storage Drupal\layout_builder\SectionStorage\SectionStorageManager

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.