# `MishkaCmsCore.Activity.Calculations.ResourceLabel`
[🔗](https://github.com/mishka-group/mishka_cms_core/blob/v0.0.1/lib/mishka_cms_core/activity/__calculations/resource_label.ex#L5)

Ash calculation that exposes `:resource_label` (string) on a paper-trail
version resource. Each PaperTrail mixin passes a literal label so the
same name appears in the activity feed and any other Ash consumer
(API, GraphQL) without that consumer having to inspect the source
module name.

Wire it from each PaperTrail mixin's `calculations` block, passing the
label as an option:

    calculate :resource_label,
              :string,
              {MishkaCmsCore.Activity.Calculations.ResourceLabel,
               label: "Page"}

# `describe`

# `has_calculate?`

# `has_expression?`

# `load`

# `strict_loads?`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
