SilverStripe\VersionedAdmin\Interfaces\ArchiveViewProvider
A provider of a view for the archive admin
Synopsis
interface ArchiveViewProvider
{
- // methods
- public array getArchiveFieldClass()
- public FormField getArchiveField()
- public boolean isArchiveFieldEnabled()
Methods
public
- getArchiveField() — Method on a {@link DataObject} which returns a custom field (usually {@link GridField}) for viewing and/or interacting with this objects archived records
- getArchiveFieldClass() — Returns the classname of the objects displayed in the field
- isArchiveFieldEnabled() — Returns whether the archive panel should be shown