SilverStripe\Versioned\RestoreAction::shouldRestoreToRoot
Determines whether this record can be restored to it's original location
Signature
public function shouldRestoreToRoot(
$record )
Parameters
$record
—
Returns
- bool