block.repository

Same name and namespace in other branches
  1. 11.x core/modules/block/block.services.yml \block.repository
  2. 10 core/modules/block/block.services.yml \block.repository
  3. 9 core/modules/block/block.services.yml \block.repository
  4. 8.9.x core/modules/block/block.services.yml \block.repository

Class

Drupal\block\BlockRepository
3 string references to block.repository
BlockForm::create in core/modules/block/src/BlockForm.php
Instantiates a new instance of this class.
BlockHooks::themeInitialize in core/modules/block/src/Hook/BlockHooks.php
Assigns an initial, default set of blocks for a theme.
BlockPageVariant::create in core/modules/block/src/Plugin/DisplayVariant/BlockPageVariant.php
Instantiates a new instance of the implementing class using autowiring.

File

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'

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