You are here

public function AppCredentialEventSubscriber::onRemoveProduct in Apigee Edge 8

Responds to remove product events.

Parameters

\Drupal\apigee_edge\Event\AppCredentialDeleteApiProductEvent $event: The app credential remove product event.

File

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

Class

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

Namespace

Drupal\apigee_edge_actions\EventSubscriber

Code

public function onRemoveProduct(AppCredentialDeleteApiProductEvent $event) {
  $this
    ->dispatchRulesEvent('apigee_edge_actions_entity_remove_product:developer_app', $event, [
    $event
      ->getApiProduct(),
  ]);
}