public static function EntityAnalyzerSubscriber::getSubscribedEvents in Entity Pager 8
Same name and namespace in other branches
- 2.0.x src/EventSubscriber/EntityAnalyzerSubscriber.php \Drupal\entity_pager\EventSubscriber\EntityAnalyzerSubscriber::getSubscribedEvents()
File
- src/
EventSubscriber/ EntityAnalyzerSubscriber.php, line 17
Class
- EntityAnalyzerSubscriber
- Provides feedback about the current entity used by the entity pager.
Namespace
Drupal\entity_pager\EventSubscriberCode
public static function getSubscribedEvents() {
$events = [];
$events[EntityPagerEvents::ENTITY_PAGER_ANALYZE][] = [
'onEntityPagerAnalyze',
];
return $events;
}