public static function ConfigDependencyCollector::getSubscribedEvents in Dependency Calculation 8
File
- src/
EventSubscriber/ LayoutBuilderComponentDepencyCollector/ ConfigDependencyCollector.php, line 35
Class
- ConfigDependencyCollector
- Subscribes to layout builder dependency collection to extract config dependencies.
Namespace
Drupal\depcalc\EventSubscriber\LayoutBuilderComponentDepencyCollectorCode
public static function getSubscribedEvents() {
$events[DependencyCalculatorEvents::SECTION_COMPONENT_DEPENDENCIES_EVENT][] = [
'onCalculateSectionComponentDependencies',
];
return $events;
}