BlockPageDisplayVariantSubscriber

Selects the block page display variant.

Hierarchy

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.
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.