You are here

public static function EntityViewDisplayDependencyCollector::getSubscribedEvents in Dependency Calculation 8

File

src/EventSubscriber/DependencyCollector/EntityViewDisplayDependencyCollector.php, line 36

Class

EntityViewDisplayDependencyCollector
Subscribes to dependency collection to extract the entity view display.

Namespace

Drupal\depcalc\EventSubscriber\DependencyCollector

Code

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