You are here

public static function SimpleBlockAddControllerSubscriber::getSubscribedEvents in Simple Block 8

File

modules/simple_block_layout_builder/src/Event/Subscriber/SimpleBlockAddControllerSubscriber.php, line 63

Class

SimpleBlockAddControllerSubscriber
Alters the render array of Layout Builder ChooseBlockController::build().

Namespace

Drupal\simple_block_layout_builder\Event\Subscriber

Code

public static function getSubscribedEvents() : array {
  return [
    KernelEvents::VIEW => [
      [
        'alterBuild',
        50,
      ],
    ],
  ];
}