Skip to main content
4 of 4
Clarity edit & tag
Shawn Conn
  • 26.9k
  • 15
  • 49
  • 73

How to save field data

I need to programmatically save field data (during node save I want to take the title & path alias and store it in a link field called field_alternative_titles_title).

Which functions can I use here? Do I use field_attach_insert or hook_field_storage_pre_insert to save the link field?

Eluchel
  • 387
  • 3
  • 17