You are here

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\SerializeContentField

Code

protected $fieldTypes = [
  'file',
  'entity_reference',
  'entity_reference_revisions',
];