You are here

protected property EntityReferenceImageFieldSerializer::$fieldTypes in Acquia Content Hub 8.2

Use the image field type.

Type: array

Overrides EntityReferenceFieldSerializer::$fieldTypes

File

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

Class

EntityReferenceImageFieldSerializer
Subscribes to entity field serialization to handle entity references.

Namespace

Drupal\acquia_contenthub\EventSubscriber\SerializeContentField

Code

protected $fieldTypes = [
  'image',
];