You are here

dashboards.services.yml in Dashboards with Layout Builder 8

Same filename and directory in other branches
  1. 2.0.x dashboards.services.yml

File

dashboards.services.yml
View source
  1. services:
  2. plugin.manager.dashboard:
  3. class: Drupal\dashboards\Plugin\DashboardManager
  4. parent: default_plugin_manager
  5. theme.negotiator.dashboard:
  6. class: Drupal\dashboards\Theme\ThemeNegotiator
  7. arguments: ['@theme.manager', '@config.factory', '@current_user']
  8. tags:
  9. - { name: theme_negotiator, priority: 1000 }
  10. dashboards.block_component_preview_form_replace_subscriber:
  11. class: Drupal\dashboards\EventSubscriber\BlockComponentPreviewFormReplace
  12. arguments: ['@renderer']
  13. tags:
  14. - { name: event_subscriber, priority: 1000 }
  15. dashboards.cache:
  16. class: Drupal\Core\Cache\CacheBackendInterface
  17. tags:
  18. - { name: cache.bin }
  19. factory: cache_factory:get
  20. arguments: [dashboards]