Provides a repository for Block config entities.
Hierarchy
- class \Drupal\block\BlockRepository implements BlockRepositoryInterface
File
- core/modules/block/src/BlockRepository.php, line 13
Namespace
Drupal\block
Members
Name | Modifiers | Type | Description |
---|---|---|---|
BlockRepository::$blockStorage | protected | property | The block storage. |
BlockRepository::$themeManager | protected | property | The theme manager. |
BlockRepository::getVisibleBlocksPerRegion | public | function | Returns an array of regions and their block entities. Overrides BlockRepositoryInterface::getVisibleBlocksPerRegion |
BlockRepository::__construct | public | function | Constructs a new BlockRepository. |
Please login to continue.