service block.repository in Drupal 9
Same name and namespace in other branches
- 8 core/modules/block/block.services.yml \block.repository
Class
Drupal\block\BlockRepository1 string reference to block.repository
- BlockPageVariant::create in core/
modules/ block/ src/ Plugin/ DisplayVariant/ BlockPageVariant.php - Creates an instance of the plugin.
File
- core/
modules/ block/ block.services.yml - core/modules/block/block.services.yml
View source
- class: Drupal\block\BlockRepository
- arguments:
- - '@entity_type.manager'
- - '@theme.manager'
- - '@context.handler'