You are here

public static function AcquiadamUsageSubscriber::getSubscribedEvents in Media: Acquia DAM 8

File

modules/media_acquiadam_report/src/EventSubscriber/AcquiadamUsageSubscriber.php, line 36

Class

AcquiadamUsageSubscriber
Subscribe to EntityUsage events.

Namespace

Drupal\media_acquiadam_report\EventSubscriber

Code

public static function getSubscribedEvents() {

  // Respond when entity usage records are added/updated.
  return [
    Events::USAGE_REGISTER => [
      'mediaUsageChange',
    ],
  ];
}