From 6a640f1498b2456159b822292f8ee834b4746f0b Mon Sep 17 00:00:00 2001 From: mattclegg Date: Mon, 13 Apr 2020 12:03:48 +0545 Subject: [PATCH] DOCS: Example should show how to disable VersionedGridfieldDetailForm as it's enabled by default --- docs/en/02_Developer_Guides/00_Model/10_Versioning.md | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/docs/en/02_Developer_Guides/00_Model/10_Versioning.md b/docs/en/02_Developer_Guides/00_Model/10_Versioning.md index d306eeed8..c44627025 100644 --- a/docs/en/02_Developer_Guides/00_Model/10_Versioning.md +++ b/docs/en/02_Developer_Guides/00_Model/10_Versioning.md @@ -269,19 +269,16 @@ the shortcode references the database identifier of the `Image` object. ### Controlling how CMS users interact with versioned DataObjects -By default the versioned module includes a `VersionedGridfieldDetailForm` that can extend gridfield with versioning support for models. +By default the versioned module includes a `VersionedGridfieldDetailForm` that extends gridfield with versioning support for DataObjects. -You can enable this on a per-model basis using the following code: +You can disable this on a per-model basis using the following code: ```php