Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. block.services.yml

block.repository

Class

Drupal\block\BlockRepository
2 string references to block.repository
BlockForm::create in core/modules/block/src/BlockForm.php
Instantiates a new instance of this class.
BlockPageVariant::create in core/modules/block/src/Plugin/DisplayVariant/BlockPageVariant.php
Creates an instance of the plugin.

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'
RSS feed
Powered by Drupal