You are here

public static function BlockContentDependencyCollector::getSubscribedEvents in Dependency Calculation 8

File

src/EventSubscriber/LayoutBuilderComponentDepencyCollector/BlockContentDependencyCollector.php, line 36

Class

BlockContentDependencyCollector
Subscribes to layout builder dependency collection to extract block content dependencies.

Namespace

Drupal\depcalc\EventSubscriber\LayoutBuilderComponentDepencyCollector

Code

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