protected property EntityReferenceFieldSerializer::$fieldTypes in Acquia Content Hub 8.2
Field types to use.
Type: array
File
- src/
EventSubscriber/ SerializeContentField/ EntityReferenceFieldSerializer.php, line 19
Class
- EntityReferenceFieldSerializer
- Subscribes to entity field serialization to handle entity references.
Namespace
Drupal\acquia_contenthub\EventSubscriber\SerializeContentFieldCode
protected $fieldTypes = [
'file',
'entity_reference',
'entity_reference_revisions',
];