You are here

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

File

src/EventSubscriber/SerializeContentField/TermParentSerializer.php, line 37

Class

TermParentSerializer
Serializes taxonomy term field parents.

Namespace

Drupal\acquia_contenthub\EventSubscriber\SerializeContentField

Code

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