You are here

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

3 methods override FallbackFieldSerializer::getSubscribedEvents()
EntityMetatagsSerializer::getSubscribedEvents in modules/acquia_contenthub_metatag/src/EventSubscriber/SerializeContentField/EntityMetatagsSerializer.php
Returns an array of event names this subscriber wants to listen to.
PasswordFieldSerializer::getSubscribedEvents in src/EventSubscriber/SerializeContentField/PasswordFieldSerializer.php
Returns an array of event names this subscriber wants to listen to.
PathFieldSerializer::getSubscribedEvents in src/EventSubscriber/SerializeContentField/PathFieldSerializer.php
Returns an array of event names this subscriber wants to listen to.

File

src/EventSubscriber/SerializeContentField/FallbackFieldSerializer.php, line 20

Class

FallbackFieldSerializer
Subscribes to entity field serialization to handle basic field values.

Namespace

Drupal\acquia_contenthub\EventSubscriber\SerializeContentField

Code

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