You are here

service block.repository in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/block/block.services.yml \block.repository

Class

Drupal\block\BlockRepository
2 string references to block.repository
BlockPageVariant::create in core/modules/block/src/Plugin/DisplayVariant/BlockPageVariant.php
Creates an instance of the plugin.
PlaceBlockPageVariant::create in core/modules/block_place/src/Plugin/DisplayVariant/PlaceBlockPageVariant.php
Creates an instance of the plugin.

File

core/modules/block/block.services.yml
core/modules/block/block.services.yml

View source
  1. class: Drupal\block\BlockRepository
  2. arguments:
  3. - '@entity_type.manager'
  4. - '@theme.manager'
  5. - '@context.handler'