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.

Link to this section Summary

Link to this section Functions

Link to this function

create_required_linked_content(changeset, field, empty_content)

View Source