title: How to programmatically set node > Image entity reference field value where I have fid value in drupal 8 node edit form
body: <p>I have a node type &quot;Kaboodle&quot; and its image field is media entity reference field.
  I want to set default image fid in image field value if user has not uploaded any image on the field while saving node edit form or adding new node.</p>
  <p>Please provide solution if anyone has or share your logic so that I can solve this.</p>
  <p>Thanks</p>