block.services.yml 451 B

123456789101112
  1. services:
  2. theme.negotiator.block.admin_demo:
  3. class: Drupal\block\Theme\AdminDemoNegotiator
  4. tags:
  5. - { name: theme_negotiator, priority: 1000 }
  6. block.page_display_variant_subscriber:
  7. class: Drupal\block\EventSubscriber\BlockPageDisplayVariantSubscriber
  8. tags:
  9. - { name: event_subscriber }
  10. block.repository:
  11. class: Drupal\block\BlockRepository
  12. arguments: ['@entity.manager', '@theme.manager', '@context.handler']