services:
  plugin.manager.bootstrap_layouts:
    class: \Drupal\bootstrap_layouts\BootstrapLayoutsManager
    calls:
      - [setContainer, ['@service_container']]
    arguments: ['@container.namespaces', '@cache.discovery', '@module_handler', '@theme_handler', '@theme.manager', '@plugin.manager.core.layout', '@plugin.manager.bootstrap_layouts.update', '@messenger']
  plugin.manager.bootstrap_layouts.update:
    class: \Drupal\bootstrap_layouts\BootstrapLayoutsUpdateManager
    calls:
      - [setContainer, ['@service_container']]
    arguments: ['@container.namespaces', '@cache.discovery', '@module_handler', '@theme_handler', '@theme.manager']
  bootstrap_layouts_uninstall_validator:
    class: \Drupal\bootstrap_layouts\BootstrapLayoutsUninstallValidator
    tags:
      - { name: module_install.uninstall_validator }
    arguments: ['@plugin.manager.bootstrap_layouts']
    lazy: true
