arillo/silverstripe-gridfield-is-published

Extension for versioned dataobjects to visually show if they are published in the gridfield

dev-master 2016-10-25 09:50 UTC

This package is auto-updated.

Last update: 2024-06-09 01:07:52 UTC


README

Extension for versioned dataobjects to visually show if they are published in the gridfield.

Just apply the extension to the dataobjects that you would like to visually show if they are published or not in the GridField.

<?php
class MyDataObject extends DataObject
{

	...

	private static $extensions = array(
		'GridFieldIsPublishedExtension'
	);

	...
}