1

Had a quick search online and I can't find a way to disable entry versioning.

Is this possible? There's some plugins that do this but I'm hoping there's some config I can set somewhere?

1

enter image description here

No need for a plugin, just don't check this option

  • Is there a way to set this programmatically? – Mike F Jun 25 '18 at 12:57
  • Of course grab the section model and set the property to false $section->enableVersioning = false; Craft::$app->getSections()->saveSection($section); – Robin Schambach Jun 25 '18 at 12:59
  • Ok, maybe that was a bad response to your answer but as I said in my original question I am looking to set this through configuration rather than using a migration or something similar. Is there a way to do it through configuration? – Mike F Jun 26 '18 at 13:43
  • No. Why can't you just not tick the checkbox? What's the purpose of a checkbox if you want to ignore it, the checkbox is actually your configuration – Robin Schambach Jun 26 '18 at 13:46
  • I can "just tick the checkbox" but I want to globally enforce this behaviour on every project so it cannot be overriden - even if an admin wanted to change it. 12factor.net/config – Mike F Jun 27 '18 at 14:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.