fromholdio / silverstripe-summary-reset
Installs: 94
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:silverstripe-vendormodule
Requires
- silverstripe/framework: ~4.1 || ~5.0
This package is auto-updated.
Last update: 2024-11-06 11:13:07 UTC
README
Requires Silverstripe 4/5+
Occassionally it would be helpful to clear any configured $summary_fields declarations accumulated by a DataObject class and its ancestors.
This very simple module contains an extension ResetSummaryFieldsExtension
which will do that for DataObjects it is applied to, and that class will then instead use only the $summary_fields declared on it directly.