block.services.yml

core/modules/block/block.services.yml

File

core/modules/block/block.services.yml

View source
  1. parameters:
  2. block.skip_procedural_hook_scan: true
  3. services:
  4. _defaults:
  5. autoconfigure: true
  6. theme.negotiator.block.admin_demo:
  7. class: Drupal\block\Theme\AdminDemoNegotiator
  8. tags:
  9. - { name: theme_negotiator, priority: 1000 }
  10. block.page_display_variant_subscriber:
  11. class: Drupal\block\EventSubscriber\BlockPageDisplayVariantSubscriber
  12. block.repository:
  13. class: Drupal\block\BlockRepository
  14. arguments: ['@entity_type.manager', '@theme.manager', '@context.handler']
  15. Drupal\block\BlockRepositoryInterface: '@block.repository'
  16. Drupal\block\BlockConfigUpdater: ~

Services

Title Deprecated Summary
block.page_display_variant_subscriber Drupal\block\EventSubscriber\BlockPageDisplayVariantSubscriber
block.repository Drupal\block\BlockRepository
Drupal\block\BlockConfigUpdater
theme.negotiator.block.admin_demo Drupal\block\Theme\AdminDemoNegotiator
_defaults

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