You are here

public static function TeamMemberApiProductAccessHandlerCacheReset::getSubscribedEvents in Apigee Edge 8

File

modules/apigee_edge_teams/src/EventSubscriber/TeamMemberApiProductAccessHandlerCacheReset.php, line 57

Class

TeamMemberApiProductAccessHandlerCacheReset
Ensures team member API product access handler's cache gets cleared.

Namespace

Drupal\apigee_edge_teams\EventSubscriber

Code

public static function getSubscribedEvents() {
  return [
    AppCredentialCreateEvent::EVENT_NAME => 'clearApiProductCache',
    AppCredentialGenerateEvent::EVENT_NAME => 'clearApiProductCache',
    AppCredentialDeleteEvent::EVENT_NAME => 'clearApiProductCache',
    AppCredentialAddApiProductEvent::EVENT_NAME => 'clearApiProductCache',
    AppCredentialDeleteApiProductEvent::EVENT_NAME => 'clearApiProductCache',
  ];
}