silverstripe/sapphire — pull request #526 by mlewis-everley (2012-06-13 17:02:27+00:00)
Title: Add ability to add custom actions to GridField record

Mainly I see this as useful for ModelAdmin, but could be useful elsewhere as well.

Currently GridField only adds Create/Cancel or Save/Delete buttons when editing an object. The record controller now checks if the Model class provides a getCMSActions() method, and if so, uses that.

Also added some extra methods for Publishing and UnPublishing content.

Still rudimentary, but think it would be quite a useful feature.