You are here

public static function WebformSubmissionHandler::getSubscribedEvents in Acquia Content Hub 8.2

File

src/EventSubscriber/Cdf/WebformSubmissionHandler.php, line 22

Class

WebformSubmissionHandler
The Webform submission entity handler.

Namespace

Drupal\acquia_contenthub\EventSubscriber\Cdf

Code

public static function getSubscribedEvents() {
  $events[AcquiaContentHubEvents::SERIALIZE_ADDITIONAL_METADATA][] = [
    'onSerializeWebformElements',
    100,
  ];
  $events[AcquiaContentHubEvents::UNSERIALIZE_ADDITIONAL_METADATA][] = [
    'onUnserializeWebformElements',
    100,
  ];
  return $events;
}