You are here

public static function AppCredentialEventSubscriber::getSubscribedEvents in Apigee Edge 8

File

modules/apigee_edge_actions/src/EventSubscriber/AppCredentialEventSubscriber.php, line 112

Class

AppCredentialEventSubscriber
Events for an API Product being added to an app already exist.

Namespace

Drupal\apigee_edge_actions\EventSubscriber

Code

public static function getSubscribedEvents() {
  return [
    AppCredentialAddApiProductEvent::EVENT_NAME => [
      'onAddProduct',
      100,
    ],
    AppCredentialDeleteApiProductEvent::EVENT_NAME => [
      'onRemoveProduct',
      100,
    ],
  ];
}