class BcConfigSubscriber implements EventSubscriberInterface (View source)

Config event subscriber to rebuild the container when BC config is saved.

Properties

protected DrupalKernelInterface $kernel

The Drupal Kernel.

Methods

__construct(DrupalKernelInterface $kernel)

BcConfigSubscriber constructor.

static 
getSubscribedEvents()

{@inheritdoc}

onConfigSave(ConfigCrudEvent $event)

Invalidates the service container if serialization BC config gets updated.

Details

__construct(DrupalKernelInterface $kernel)

BcConfigSubscriber constructor.

Parameters

DrupalKernelInterface $kernel

The Drupal Kernel.

static getSubscribedEvents()

{@inheritdoc}

onConfigSave(ConfigCrudEvent $event)

Invalidates the service container if serialization BC config gets updated.

Parameters

ConfigCrudEvent $event