You are here

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

Overrides FallbackFieldSerializer::getSubscribedEvents

File

src/EventSubscriber/SerializeContentField/PasswordFieldSerializer.php, line 19

Class

PasswordFieldSerializer
Password Field Serializer.

Namespace

Drupal\acquia_contenthub\EventSubscriber\SerializeContentField

Code

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