28 lines
992 B
YAML
28 lines
992 B
YAML
services:
|
|
theme.negotiator.block.admin_demo:
|
|
class: Drupal\block\Theme\AdminDemoNegotiator
|
|
tags:
|
|
- { name: theme_negotiator, priority: 1000 }
|
|
block.page_display_variant_subscriber:
|
|
class: Drupal\block\EventSubscriber\BlockPageDisplayVariantSubscriber
|
|
tags:
|
|
- { name: event_subscriber }
|
|
block.current_user_context:
|
|
class: Drupal\block\EventSubscriber\CurrentUserContext
|
|
arguments: ['@current_user', '@entity.manager']
|
|
tags:
|
|
- { name: 'event_subscriber' }
|
|
block.current_language_context:
|
|
class: Drupal\block\EventSubscriber\CurrentLanguageContext
|
|
arguments: ['@language_manager']
|
|
tags:
|
|
- { name: 'event_subscriber' }
|
|
block.node_route_context:
|
|
class: Drupal\block\EventSubscriber\NodeRouteContext
|
|
arguments: ['@current_route_match']
|
|
tags:
|
|
- { name: 'event_subscriber' }
|
|
block.repository:
|
|
class: Drupal\block\BlockRepository
|
|
arguments: ['@entity.manager', '@theme.manager', '@context.handler']
|