DOCS Fix FCQN in CsvBulkLoader example code

[ci skip]
This commit is contained in:
Robbie Averill 2018-12-06 12:21:08 +00:00 committed by GitHub
parent 5d7c5ffb07
commit 466e7cf142
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -53,14 +53,15 @@ The simplest way to use [CsvBulkLoader](api:SilverStripe\Dev\CsvBulkLoader) is t
```php
use SilverStripe\Admin\ModelAdmin;
use SilverStripe\Dev\CsvBulkLoader;
class PlayerAdmin extends ModelAdmin
{
private static $managed_models = [
'Player'
Player::class
];
private static $model_importers = [
'Player' => 'CsvBulkLoader',
'Player' => CsvBulkLoader::class,
];
private static $url_segment = 'players';
}