public static function GeneralFieldSerializer::getSubscribedEvents in Acquia Content Hub 8.2
File
- src/
EventSubscriber/ SerializeContentField/ GeneralFieldSerializer.php, line 20
Class
- GeneralFieldSerializer
- Subscribes to entity field serialization to handle basic field values.
Namespace
Drupal\acquia_contenthub\EventSubscriber\SerializeContentFieldCode
public static function getSubscribedEvents() {
$events[AcquiaContentHubEvents::SERIALIZE_CONTENT_ENTITY_FIELD][] = [
'onSerializeContentField',
10,
];
return $events;
}