Closed muppsy007 closed 7 years ago
They should be added automatically if the DataObject has the Versioned
extension.
But for granular control over the buttons, getBetterButtonsActions()
is the final source of truth. If you just define that method, you can add/remove whatever you like.
Thanks mate. I wasn't aware Versioned was part of core.
Readme is quite detailed, especially around creating custom buttons and actions. But I see no mention of how to add the versioning buttons (Save & Publish) functionality to a given DataObject. How does one do this?