SilverStripe\StaticPublishQueue\Contract\StaticPublishingTrigger
Describes an object that may wish to trigger updates in other objects as a result of it's own update.
Synopsis
interface StaticPublishingTrigger
{
- // methods
- public array|SS_List objectsToUpdate()
- public array|SS_List objectsToDelete()
Methods
public
- objectsToDelete() — Provides a SS_list of objects that need to be deleted.
- objectsToUpdate() — Provides an SS_List of StaticallyPublishable objects which need to be regenerated.