You are here

protected property BlockPageVariant::$blockRepository in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/block/src/Plugin/DisplayVariant/BlockPageVariant.php \Drupal\block\Plugin\DisplayVariant\BlockPageVariant::blockRepository
  2. 9 core/modules/block/src/Plugin/DisplayVariant/BlockPageVariant.php \Drupal\block\Plugin\DisplayVariant\BlockPageVariant::blockRepository

The block repository.

Type: \Drupal\block\BlockRepositoryInterface

File

core/modules/block/src/Plugin/DisplayVariant/BlockPageVariant.php, line 39

Class

BlockPageVariant
Provides a page display variant that decorates the main content with blocks.

Namespace

Drupal\block\Plugin\DisplayVariant

Code

protected $blockRepository;