public static function TrackTotals::getSubscribedEvents in Acquia Content Hub 8.2
Same name in this branch
- 8.2 modules/acquia_contenthub_subscriber/src/EventSubscriber/PromoteEntityStatusTrack/TrackTotals.php \Drupal\acquia_contenthub_subscriber\EventSubscriber\PromoteEntityStatusTrack\TrackTotals::getSubscribedEvents()
- 8.2 modules/acquia_contenthub_publisher/src/EventSubscriber/PromoteEntityStatusTrack/TrackTotals.php \Drupal\acquia_contenthub_publisher\EventSubscriber\PromoteEntityStatusTrack\TrackTotals::getSubscribedEvents()
Retrieve subscribed events.
Return value
array Array of subscribed events.
File
- modules/
acquia_contenthub_subscriber/ src/ EventSubscriber/ PromoteEntityStatusTrack/ TrackTotals.php, line 40
Class
- TrackTotals
- Class TrackTotals to track subscribed entities in the client CDF object.
Namespace
Drupal\acquia_contenthub_subscriber\EventSubscriber\PromoteEntityStatusTrackCode
public static function getSubscribedEvents() : array {
return [
AcquiaContentHubEvents::BUILD_CLIENT_CDF => 'onPromoteEntityStatusTrackTotals',
];
}