mirror of
https://github.com/ash-project/ash_archival.git
synced 2024-09-20 13:33:06 +12:00
1.2 KiB
1.2 KiB
DSL: AshArchival.Resource
Configures a resource to be archived instead of destroyed for all destroy actions.
For more information, see Archival
DSL Documentation
Index
- archive
Docs
archive
A section for configuring how archival is configured for a resource.
:archive_related
(list oft:atom/0
) - A list of relationships that should have all related items archived when this is archived. Note: this is currently not optimized. It simply reads the relationship and archives each one.
archive
A section for configuring how archival is configured for a resource.
Options
Name | Type | Default | Docs |
---|---|---|---|
archive_related {: #archive-archive_related } |
list(atom) |
A list of relationships that should have all related items archived when this is archived. Note: this is currently not optimized. It simply reads the relationship and archives each one. |