- Issue created by @Gopinath Dhayalan
Entity reference field value returns NULL but taxonomy term reference works fine.
1. Create new content type "Author" with default fields
2. Create new content type "Event"
3. Add the node entity reference with "Author" content type with autocomplete field.
create a file "1_author_node.content.yml" with below values
- entity: "node"
type: "author"
title: "Author"
status: 1
uid: 1
Create a file "2_events_node.content.yml" with below values
- entity: "node"
type: "events"
title: "Events First Page"
status: 1
uid: 1
path:
alias: '/events-first-page'
field_author:
- '#process':
callback: 'reference'
args:
- 'node'
- type: 'author'
title: 'Author'
dependency: '1_author_node_content.yml'
Enable the module and import the content.
Autocomplete entity reference field value is NULL.
Active
Code