You are here

public static function HeartbeatEventSubscriber::getSubscribedEvents in Heartbeat 8

File

src/EventSubscriber/HeartbeatEventSubscriber.php, line 65

Class

HeartbeatEventSubscriber
Class HeartbeatEventSubscriber.

Namespace

Drupal\heartbeat\EventSubscriber

Code

public static function getSubscribedEvents() {
  $events['flag.entity_flagged'] = [
    'flag_entity_flagged',
  ];
  $events['flag.entity_unflagged'] = [
    'flag_entity_unflagged',
  ];
  return $events;
}