Skip to content

Commit

Permalink
Merge branch '4'
Browse files Browse the repository at this point in the history
  • Loading branch information
robbieaverill committed Dec 12, 2018
2 parents 2421a99 + fcc3735 commit 26bc923
Show file tree
Hide file tree
Showing 4 changed files with 224 additions and 16 deletions.
5 changes: 3 additions & 2 deletions docs/en/02_Developer_Guides/11_Integration/00_CSV_Import.md
Expand Up @@ -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';
}
Expand Down

0 comments on commit 26bc923

Please sign in to comment.