You are here

public static function InlineBlockDependencyCollector::getSubscribedEvents in Dependency Calculation 8

File

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

Class

InlineBlockDependencyCollector
Subscribes to layout builder dependency collection to extract inline block dependencies.

Namespace

Drupal\depcalc\EventSubscriber\LayoutBuilderComponentDepencyCollector

Code

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