You are here

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

File

src/EventSubscriber/SerializeContentField/TextItemFieldSerializer.php, line 50

Class

TextItemFieldSerializer
Subscribes to entity field serialization to extract the filter format uuid.

Namespace

Drupal\acquia_contenthub\EventSubscriber\SerializeContentField

Code

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