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