fromholdio/silverstripe-summary-reset

Installs: 95

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:silverstripe-vendormodule

1.1.1 2024-01-06 09:23 UTC

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.