SilverStripe\Versioned\Versioned::isOnDraft
Check if this record exists on the draft stage.
On objects with only 1 stage, check if the record exists on that stage.
Signature
public function isOnDraft()
Returns
- bool
On objects with only 1 stage, check if the record exists on that stage.
public function isOnDraft()