From 101f103247ad374dac3e2a1786ca6dd8152ca604 Mon Sep 17 00:00:00 2001 From: Michal Kleiner Date: Mon, 16 Mar 2020 19:51:47 +1300 Subject: [PATCH] Move relevant use statements to the new fields provider class --- src/Extensions/DataObjectTaxonomiesDataExtension.php | 3 --- src/Forms/FieldsProvider.php | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Extensions/DataObjectTaxonomiesDataExtension.php b/src/Extensions/DataObjectTaxonomiesDataExtension.php index a57e63c..6321615 100644 --- a/src/Extensions/DataObjectTaxonomiesDataExtension.php +++ b/src/Extensions/DataObjectTaxonomiesDataExtension.php @@ -3,9 +3,6 @@ namespace Chrometoaster\AdvancedTaxonomies\Extensions; use Chrometoaster\AdvancedTaxonomies\Forms\FieldsProvider; -use Chrometoaster\AdvancedTaxonomies\Forms\GridFieldAddTagsAutocompleter; -use Chrometoaster\AdvancedTaxonomies\Forms\GridFieldInfoLink; -use Chrometoaster\AdvancedTaxonomies\Forms\GridFieldOrderableRows; use Chrometoaster\AdvancedTaxonomies\Models\DataObjectTaxonomyTerm; use Chrometoaster\AdvancedTaxonomies\Models\TaxonomyTerm; use Chrometoaster\AdvancedTaxonomies\Validators\TaxonomyRulesValidator; diff --git a/src/Forms/FieldsProvider.php b/src/Forms/FieldsProvider.php index 96cfbc4..974d9d5 100644 --- a/src/Forms/FieldsProvider.php +++ b/src/Forms/FieldsProvider.php @@ -3,6 +3,9 @@ namespace Chrometoaster\AdvancedTaxonomies\Forms; use Chrometoaster\AdvancedTaxonomies\Models\TaxonomyTerm; +use Chrometoaster\AdvancedTaxonomies\Forms\GridFieldAddTagsAutocompleter; +use Chrometoaster\AdvancedTaxonomies\Forms\GridFieldInfoLink; +use Chrometoaster\AdvancedTaxonomies\Forms\GridFieldOrderableRows; use SilverStripe\Forms\GridField\GridFieldAddExistingAutocompleter; use SilverStripe\Forms\GridField\GridFieldAddNewButton; use SilverStripe\Forms\GridField\GridFieldConfig;