public static function EntityReferenceFieldDependencyCollector::getSubscribedEvents in Dependency Calculation 8
File
- src/
EventSubscriber/ DependencyCollector/ EntityReferenceFieldDependencyCollector.php, line 20
Class
- EntityReferenceFieldDependencyCollector
- Subscribes to dependency collection to extract referenced entities.
Namespace
Drupal\depcalc\EventSubscriber\DependencyCollectorCode
public static function getSubscribedEvents() {
$events[DependencyCalculatorEvents::CALCULATE_DEPENDENCIES][] = [
'onCalculateDependencies',
];
return $events;
}