public static function FlagForListSubscriber::getSubscribedEvents in Flag Lists 4.0.x
Same name and namespace in other branches
- 8 src/EventSubscriber/FlagForListSubscriber.php \Drupal\flag_lists\EventSubscriber\FlagForListSubscriber::getSubscribedEvents()
File
- src/
EventSubscriber/ FlagForListSubscriber.php, line 26
Class
- FlagForListSubscriber
- Subscribe to Flag events.
Namespace
Drupal\flag_lists\EventSubscriberCode
public static function getSubscribedEvents() {
$events[FlagEvents::ENTITY_FLAGGED][] = [
'flagListsEntityFlagged',
100,
];
$events[FlagEvents::ENTITY_UNFLAGGED][] = [
'flagListsEntityUnflagged',
100,
];
return $events;
}