mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-06-26 14:39:25 +02:00
24 lines
607 B
PHP
24 lines
607 B
PHP
<?php
|
|
|
|
namespace SilverStripe\Forms\GridField;
|
|
|
|
use SilverStripe\Dev\Deprecation;
|
|
use SilverStripe\Versioned\VersionedGridFieldState\VersionedGridFieldState;
|
|
|
|
if (!class_exists(VersionedGridFieldState::class)) {
|
|
return;
|
|
}
|
|
|
|
|
|
/**
|
|
* @deprecated 4.1.0 Use VersionedGridFieldState instead
|
|
*/
|
|
class GridFieldVersionedState extends VersionedGridFieldState
|
|
{
|
|
public function __construct(array $versionedLabelFields = ['Name', 'Title'])
|
|
{
|
|
Deprecation::notice('4.1.0', 'Use VersionedGridFieldState instead', Deprecation::SCOPE_CLASS);
|
|
parent::__construct($versionedLabelFields);
|
|
}
|
|
}
|