diff --git a/src/Model/MenuItem.php b/src/Model/MenuItem.php index 25d3a5a..6490bfc 100644 --- a/src/Model/MenuItem.php +++ b/src/Model/MenuItem.php @@ -8,6 +8,9 @@ use SilverStripe\Control\Controller; use SilverStripe\Forms\CheckboxField; use SilverStripe\Forms\FieldGroup; +use SilverStripe\Forms\HeaderField; +use SilverStripe\Forms\OptionsetField; +use SilverStripe\Forms\TreeDropdownField; use SilverStripe\Forms\GridField\GridField; use SilverStripe\Forms\GridField\GridFieldAddExistingAutocompleter; use SilverStripe\Forms\GridField\GridFieldAddNewButton; @@ -15,10 +18,6 @@ use SilverStripe\Forms\GridField\GridFieldPageCount; use SilverStripe\Forms\GridField\GridFieldPaginator; use SilverStripe\Forms\GridField\GridFieldToolbarHeader; -use SilverStripe\Forms\HeaderField; -use SilverStripe\Forms\OptionsetField; -use SilverStripe\Forms\Tab; -use SilverStripe\Forms\TreeDropdownField; use SilverStripe\Versioned\Versioned; use Symbiote\GridFieldExtensions\GridFieldAddNewMultiClass; use Symbiote\GridFieldExtensions\GridFieldOrderableRows; diff --git a/src/Model/MenuItemSiteTree.php b/src/Model/MenuItemSiteTree.php index dc6b3b0..7406a45 100644 --- a/src/Model/MenuItemSiteTree.php +++ b/src/Model/MenuItemSiteTree.php @@ -3,9 +3,6 @@ namespace Fromholdio\SuperLinkerMenus\Model; use Fromholdio\SuperLinker\Extensions\SiteTreeLink; -use SilverStripe\Forms\CheckboxField; -use SilverStripe\Forms\FieldGroup; -use UncleCheese\DisplayLogic\Forms\Wrapper; class MenuItemSiteTree extends MenuItem { diff --git a/src/Model/MenuSet.php b/src/Model/MenuSet.php index 5d8ddcb..9cd3e0b 100644 --- a/src/Model/MenuSet.php +++ b/src/Model/MenuSet.php @@ -8,6 +8,11 @@ use SilverStripe\Core\ClassInfo; use SilverStripe\Core\Config\Config; use SilverStripe\Forms\FieldList; +use SilverStripe\Forms\HeaderField; +use SilverStripe\Forms\HiddenField; +use SilverStripe\Forms\Tab; +use SilverStripe\Forms\TabSet; +use SilverStripe\Forms\TextField; use SilverStripe\Forms\GridField\GridField; use SilverStripe\Forms\GridField\GridFieldAddExistingAutocompleter; use SilverStripe\Forms\GridField\GridFieldAddNewButton; @@ -15,11 +20,7 @@ use SilverStripe\Forms\GridField\GridFieldPageCount; use SilverStripe\Forms\GridField\GridFieldPaginator; use SilverStripe\Forms\GridField\GridFieldToolbarHeader; -use SilverStripe\Forms\HeaderField; -use SilverStripe\Forms\HiddenField; -use SilverStripe\Forms\Tab; -use SilverStripe\Forms\TabSet; -use SilverStripe\Forms\TextField; +use SilverStripe\ORM\ArrayList; use SilverStripe\ORM\DataObject; use SilverStripe\Versioned\Versioned; use SilverStripe\View\SSViewer;