diff --git a/src/PortlandLabs/Concrete5/MigrationTool/Exporter/Item/Type/Manager.php b/src/PortlandLabs/Concrete5/MigrationTool/Exporter/Item/Type/Manager.php index 33a9a6c..d7d2067 100644 --- a/src/PortlandLabs/Concrete5/MigrationTool/Exporter/Item/Type/Manager.php +++ b/src/PortlandLabs/Concrete5/MigrationTool/Exporter/Item/Type/Manager.php @@ -172,11 +172,23 @@ public function createThumbnailTypeDriver() return $this->app->make(ThumbnailType::class); } + public function createTreeTypeDriver() + { + return $this->app->make(TreeType::class); + } + + public function createTreeNodeTypeDriver() + { + return $this->app->make(TreeNodeType::class); + } + public function __construct($app) { parent::__construct($app); $this->driver('group'); $this->driver('board'); + $this->driver('tree_type'); + $this->driver('tree_node_type'); $this->driver('board_template'); $this->driver('express_entity'); $this->driver('express_entry'); diff --git a/src/PortlandLabs/Concrete5/MigrationTool/Importer/CIF/Manager.php b/src/PortlandLabs/Concrete5/MigrationTool/Importer/CIF/Manager.php index dc7f562..b856b78 100644 --- a/src/PortlandLabs/Concrete5/MigrationTool/Importer/CIF/Manager.php +++ b/src/PortlandLabs/Concrete5/MigrationTool/Importer/CIF/Manager.php @@ -40,6 +40,8 @@ use PortlandLabs\Concrete5\MigrationTool\Importer\CIF\Element\Tree; use PortlandLabs\Concrete5\MigrationTool\Importer\CIF\Element\WorkflowProgressCategory; use PortlandLabs\Concrete5\MigrationTool\Importer\CIF\Element\WorkflowType; +use PortlandLabs\Concrete5\MigrationTool\Importer\CIF\Element\TreeType; +use PortlandLabs\Concrete5\MigrationTool\Importer\CIF\Element\TreeNodeType; class Manager { @@ -51,6 +53,8 @@ public function __construct() { $this->registerRoutine(new Group()); $this->registerRoutine(new ThumbnailType()); + $this->registerRoutine(new TreeType()); + $this->registerRoutine(new TreeNodeType()); $this->registerRoutine(new BannedWord()); $this->registerRoutine(new ExpressEntity()); $this->registerRoutine(new SocialLink()); diff --git a/src/PortlandLabs/Concrete5/MigrationTool/Publisher/Routine/Manager.php b/src/PortlandLabs/Concrete5/MigrationTool/Publisher/Routine/Manager.php index 0f3754d..df7c224 100644 --- a/src/PortlandLabs/Concrete5/MigrationTool/Publisher/Routine/Manager.php +++ b/src/PortlandLabs/Concrete5/MigrationTool/Publisher/Routine/Manager.php @@ -62,6 +62,16 @@ public function createCreateThumbnailTypesDriver() return new CreateThumbnailTypesRoutine(); } + public function createCreateTreeTypesDriver() + { + return new CreateTreeTypesRoutine(); + } + + public function createCreateTreeNodeTypesDriver() + { + return new CreateTreeNodeTypesRoutine(); + } + public function createCreateBlockTypeSetsDriver() { return new CreateBlockTypeSetsRoutine(); @@ -237,6 +247,8 @@ public function __construct() $this->driver('create_trees'); $this->driver('create_social_links'); $this->driver('create_thumbnail_types'); + $this->driver('create_tree_types'); + $this->driver('create_tree_node_types'); $this->driver('create_jobs'); $this->driver('create_job_sets'); $this->driver('create_page_type_publish_target_types');