From b32bd9e5baa1e9103bbdc781690c4e7ec5a31f49 Mon Sep 17 00:00:00 2001 From: Guy Sartorelli <36352093+GuySartorelli@users.noreply.github.com> Date: Mon, 23 Sep 2024 14:38:48 +1200 Subject: [PATCH] API Use new names for renamed classes (#172) --- src/Forms/GridFieldSiteTreeAddNewButton.php | 4 ++-- src/Forms/GridFieldSiteTreeEditButton.php | 2 +- src/Forms/GridFieldSiteTreeViewButton.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Forms/GridFieldSiteTreeAddNewButton.php b/src/Forms/GridFieldSiteTreeAddNewButton.php index dd869ae..7007f38 100644 --- a/src/Forms/GridFieldSiteTreeAddNewButton.php +++ b/src/Forms/GridFieldSiteTreeAddNewButton.php @@ -14,8 +14,8 @@ use SilverStripe\Forms\GridField\GridField_FormAction; use SilverStripe\Forms\GridField\GridField_ActionProvider; use SilverStripe\Forms\HiddenField; -use SilverStripe\ORM\ArrayList; -use SilverStripe\View\ArrayData; +use SilverStripe\Model\List\ArrayList; +use SilverStripe\Model\ArrayData; use SilverStripe\View\Requirements; /** diff --git a/src/Forms/GridFieldSiteTreeEditButton.php b/src/Forms/GridFieldSiteTreeEditButton.php index ed5825f..c11c608 100644 --- a/src/Forms/GridFieldSiteTreeEditButton.php +++ b/src/Forms/GridFieldSiteTreeEditButton.php @@ -5,7 +5,7 @@ use SilverStripe\Forms\GridField\GridField; use SilverStripe\Forms\GridField\GridFieldEditButton; use SilverStripe\ORM\DataObject; -use SilverStripe\View\ArrayData; +use SilverStripe\Model\ArrayData; /** * Swaps the GridField Link out for the SiteTree edit link using {@link SiteTree::CMSEditLink()}. diff --git a/src/Forms/GridFieldSiteTreeViewButton.php b/src/Forms/GridFieldSiteTreeViewButton.php index 0b0a5ef..fcdd107 100644 --- a/src/Forms/GridFieldSiteTreeViewButton.php +++ b/src/Forms/GridFieldSiteTreeViewButton.php @@ -3,7 +3,7 @@ namespace SilverStripe\Lumberjack\Forms; use SilverStripe\Forms\GridField\GridFieldViewButton; -use SilverStripe\View\ArrayData; +use SilverStripe\Model\ArrayData; class GridFieldSiteTreeViewButton extends GridFieldViewButton {