You are here

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

Overrides FallbackFieldSerializer::getSubscribedEvents

File

src/EventSubscriber/SerializeContentField/PathFieldSerializer.php, line 38

Class

PathFieldSerializer
Serializes path fields.

Namespace

Drupal\acquia_contenthub\EventSubscriber\SerializeContentField

Code

public static function getSubscribedEvents() {
  $events[AcquiaContentHubEvents::SERIALIZE_CONTENT_ENTITY_FIELD][] = [
    'onSerializeContentField',
    11,
  ];
  return $events;
}