Selects the block page display variant.
Hierarchy
- class \Drupal\block\EventSubscriber\BlockPageDisplayVariantSubscriber implements EventSubscriberInterface
See also
\Drupal\block\Plugin\DisplayVariant\BlockPageVariant
File
- core/modules/block/src/EventSubscriber/BlockPageDisplayVariantSubscriber.php, line 14
Namespace
Drupal\block\EventSubscriber
Members
Name | Modifiers | Type | Description |
---|---|---|---|
BlockPageDisplayVariantSubscriber::getSubscribedEvents | static | function | Returns an array of event names this subscriber wants to listen to. Overrides EventSubscriberInterface::getSubscribedEvents |
BlockPageDisplayVariantSubscriber::onSelectPageDisplayVariant | public | function | Selects the block page display variant. |
Please login to continue.