You are here

public static function LayoutBuilderInlineBlockStubCleanup::getSubscribedEvents in Acquia Content Hub 8.2

Get subscribed events and add onStubsCleanup for default stubs.

Return value

array Array of $events.

File

src/EventSubscriber/CleanupStubs/LayoutBuilderInlineBlockStubCleanup.php, line 55

Class

LayoutBuilderInlineBlockStubCleanup
Cleans up LB block stubs after import.

Namespace

Drupal\acquia_contenthub\EventSubscriber\CleanupStubs

Code

public static function getSubscribedEvents() {
  $events[AcquiaContentHubEvents::CLEANUP_STUBS][] = [
    'onStubsCleanup',
    11,
  ];
  return $events;
}