SilverStripe\Versioned\RestoreAction
Generic restore action to restore an archived item to draft
Synopsis
class RestoreAction
{
- // methods
- public static array restore()
- public static array getRestoreMessage()
- public static bool shouldRestoreToRoot()
Methods
public
- getRestoreMessage() — Returns a message which notifies the user of a successful restoration and if anything has changed
- restore() — Returns a message which notifies the user of a successful restoration and if anything has changed
- shouldRestoreToRoot() — Determines whether this record can be restored to it's original location