View Source Bonfire.Me.Profiles (Bonfire v0.9.10-classic-beta.169)

Shared helpers for profiles (such as the profile of a User or Category)

Context for Bonfire.Data.Social.Profile mixin, which has these fields:

  • name
  • summary
  • website
  • location (plaintext, see )
  • icon: eg. avatar (references a Bonfire.Files.Media)
  • image: eg. banner

Summary

Functions

Link to this function

changeset(profile \\ %Profile{}, params)

View Source
Link to this function

changeset_simple(profile \\ %Profile{}, params)

View Source
Link to this function

indexing_object_format(obj)

View Source

Callback implementation for Bonfire.Common.QueryModule.schema_module/0.

Link to this function

set_profile_image(atom, user, uploaded_media)

View Source
Link to this function

spam_check!(text, context)

View Source