From 466e7cf1423c44213b5e7055e82cd9b83c1e4e37 Mon Sep 17 00:00:00 2001 From: Robbie Averill Date: Thu, 6 Dec 2018 12:21:08 +0000 Subject: [PATCH] DOCS Fix FCQN in CsvBulkLoader example code [ci skip] --- docs/en/02_Developer_Guides/11_Integration/00_CSV_Import.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/en/02_Developer_Guides/11_Integration/00_CSV_Import.md b/docs/en/02_Developer_Guides/11_Integration/00_CSV_Import.md index 02476dc0e..774d2dc2b 100644 --- a/docs/en/02_Developer_Guides/11_Integration/00_CSV_Import.md +++ b/docs/en/02_Developer_Guides/11_Integration/00_CSV_Import.md @@ -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'; }