You are here

public static function LayoutBuilderEntityViewDisplayDependencyCollector::getSubscribedEvents in Dependency Calculation 8

File

src/EventSubscriber/DependencyCollector/LayoutBuilderEntityViewDisplayDependencyCollector.php, line 17

Class

LayoutBuilderEntityViewDisplayDependencyCollector
Subscribes to dependency collection to extract entities referenced on Layout Builder components.

Namespace

Drupal\depcalc\EventSubscriber\DependencyCollector

Code

public static function getSubscribedEvents() {
  $events[DependencyCalculatorEvents::CALCULATE_DEPENDENCIES][] = [
    'onCalculateDependencies',
  ];
  return $events;
}