View Source Elph.Contents.Helper.RequiredLinkedContent (elph v0.9.1)
This module holds the create_required_linked_content helper. It looks in the given changeset if a field is set. If so it does nothing. Otherwise it creates the new empty content and sets the linked field in the changeset.