BlockRepository::$themeManager

The theme manager. Type: \Drupal\Core\Theme\ThemeManagerInterface File core/modules/block/src/BlockRepository.php, line 27 Class BlockRepository Provides a repository for Block config entities. Namespace Drupal\block Code protected $themeManager;

BlockRepository::$blockStorage

The block storage. Type: \Drupal\Core\Entity\EntityStorageInterface File core/modules/block/src/BlockRepository.php, line 20 Class BlockRepository Provides a repository for Block config entities. Namespace Drupal\block Code protected $blockStorage;

BlockRepository

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

BlockPlaceEventSubscriber::__construct

public BlockPlaceEventSubscriber::__construct(RequestStack $request_stack, AccountInterface $account) Constructs a \Drupal\block_place\EventSubscriber\BlockPlaceEventSubscriber object. Parameters \Symfony\Component\HttpFoundation\RequestStack $request_stack: The request stack used to retrieve the current request. \Drupal\Core\Session\AccountInterface $account: The current user. File core/modules/block_place/src/EventSubscriber/BlockPlaceEventSubscriber.php, line 38 Class BlockPlaceEventSub

BlockPlaceEventSubscriber::onBlockPageDisplayVariantSelected

public BlockPlaceEventSubscriber::onBlockPageDisplayVariantSelected(PageDisplayVariantSelectionEvent $event) Selects the block place override of the block page display variant. Parameters \Drupal\Core\Render\PageDisplayVariantSelectionEvent $event: The event to process. File core/modules/block_place/src/EventSubscriber/BlockPlaceEventSubscriber.php, line 49 Class BlockPlaceEventSubscriber Namespace Drupal\block_place\EventSubscriber Code public function onBlockPageDisplayVariantSelec

BlockPlaceEventSubscriber::getSubscribedEvents

public static BlockPlaceEventSubscriber::getSubscribedEvents() Returns an array of event names this subscriber wants to listen to. The array keys are event names and the value can be: The method name to call (priority defaults to 0) An array composed of the method name to call and the priority An array of arrays composed of the method names to call and respective priorities, or 0 if unset For instance: array('eventName' => 'methodName') array('eventName' => array('methodName', $priori

BlockPlaceEventSubscriber::$requestStack

The request stack. Type: \Symfony\Component\HttpFoundation\RequestStack File core/modules/block_place/src/EventSubscriber/BlockPlaceEventSubscriber.php, line 21 Class BlockPlaceEventSubscriber Namespace Drupal\block_place\EventSubscriber Code protected $requestStack;

BlockPlaceEventSubscriber::$account

The current user. Type: \Drupal\Core\Session\AccountInterface File core/modules/block_place/src/EventSubscriber/BlockPlaceEventSubscriber.php, line 28 Class BlockPlaceEventSubscriber Namespace Drupal\block_place\EventSubscriber Code protected $account;

BlockPlaceEventSubscriber

Hierarchy class \Drupal\block_place\EventSubscriber\BlockPlaceEventSubscriber implements EventSubscriberInterface See also \Drupal\block_place\Plugin\DisplayVariant\PlaceBlockPageVariant File core/modules/block_place/src/EventSubscriber/BlockPlaceEventSubscriber.php, line 14 Namespace Drupal\block_place\EventSubscriber Members Name Modifiers Type Description BlockPlaceEventSubscriber::$account protected property The current user. BlockPlaceEventSubscriber::$requestSta

BlockPageDisplayVariantSubscriber::onSelectPageDisplayVariant

public BlockPageDisplayVariantSubscriber::onSelectPageDisplayVariant(PageDisplayVariantSelectionEvent $event) Selects the block page display variant. Parameters \Drupal\Core\Render\PageDisplayVariantSelectionEvent $event: The event to process. File core/modules/block/src/EventSubscriber/BlockPageDisplayVariantSubscriber.php, line 22 Class BlockPageDisplayVariantSubscriber Selects the block page display variant. Namespace Drupal\block\EventSubscriber Code public function onSelectPageDi