Commit c737410a authored by webchick's avatar webchick

Issue #2546993 by mikeryan, phenaproxima: Move last stragglers of...

Issue #2546993 by mikeryan, phenaproxima: Move last stragglers of module-specific migrations into the appropriate modules
parent 9aaddd25
......@@ -2,12 +2,13 @@
/**
* @file
* Contains \Drupal\migrate_drupal\Plugin\migrate\cckfield\FileField.
* Contains \Drupal\file\Plugin\migrate\cckfield\FileField.
*/
namespace Drupal\migrate_drupal\Plugin\migrate\cckfield;
namespace Drupal\file\Plugin\migrate\cckfield;
use Drupal\migrate\Entity\MigrationInterface;
use Drupal\migrate_drupal\Plugin\migrate\cckfield\CckFieldPluginBase;
/**
* @PluginID("filefield")
......
......@@ -2,10 +2,10 @@
/**
* @file
* Contains \Drupal\migrate_drupal\Plugin\migrate\process\d6\CckFile.
* Contains \Drupal\file\Plugin\migrate\process\d6\CckFile.
*/
namespace Drupal\migrate_drupal\Plugin\migrate\process\d6;
namespace Drupal\file\Plugin\migrate\process\d6;
use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
use Drupal\migrate\MigrateExecutableInterface;
......
......@@ -2,11 +2,11 @@
/**
* @file
* Contains \Drupal\migrate_drupal\Plugin\migrate\process\d6\FilterFormatPermission.
* Contains \Drupal\filter\Plugin\migrate\process\d6\FilterFormatPermission.
*/
namespace Drupal\migrate_drupal\Plugin\migrate\process\d6;
namespace Drupal\filter\Plugin\migrate\process\d6;
use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
use Drupal\migrate\Entity\MigrationInterface;
......
......@@ -2,12 +2,13 @@
/**
* @file
* Contains \Drupal\migrate_drupal\Plugin\migrate\cckfield\LinkField.
* Contains \Drupal\link\Plugin\migrate\cckfield\LinkField.
*/
namespace Drupal\migrate_drupal\Plugin\migrate\cckfield;
namespace Drupal\link\Plugin\migrate\cckfield;
use Drupal\migrate\Entity\MigrationInterface;
use Drupal\migrate_drupal\Plugin\migrate\cckfield\CckFieldPluginBase;
/**
* @PluginID("link")
......
......@@ -2,17 +2,16 @@
/**
* @file
* Contains \Drupal\migrate_drupal\Plugin\migrate\process\d6\CckLink.
* Contains \Drupal\link\Plugin\migrate\process\d6\CckLink.
*/
namespace Drupal\migrate_drupal\Plugin\migrate\process\d6;
namespace Drupal\link\Plugin\migrate\process\d6;
use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
use Drupal\migrate\Entity\MigrationInterface;
use Drupal\migrate\MigrateExecutableInterface;
use Drupal\migrate\ProcessPluginBase;
use Drupal\migrate\Row;
use Drupal\migrate\Plugin\migrate\process\Route;
use Symfony\Component\DependencyInjection\ContainerInterface;
/**
......
......@@ -2,10 +2,10 @@
/**
* @file
* Contains \Drupal\migrate_drupal\Plugin\migrate\process\d6\InternalUri.
* Contains \Drupal\menu_link_content\Plugin\migrate\process\d6\InternalUri.
*/
namespace Drupal\migrate_drupal\Plugin\migrate\process\d6;
namespace Drupal\menu_link_content\Plugin\migrate\process\d6;
use Drupal\migrate\MigrateExecutableInterface;
use Drupal\migrate\ProcessPluginBase;
......
<?php
/**
* @file
* Contains \Drupal\Tests\migrate_drupal\Unit\source\d6\TestComment.
*/
namespace Drupal\Tests\migrate_drupal\Unit\source\d6;
use Drupal\Core\Database\Connection;
use Drupal\Core\Extension\ModuleHandlerInterface;
use Drupal\migrate_drupal\Plugin\migrate\source\d6\Comment;
class TestComment extends Comment {
public function setDatabase(Connection $database) {
$this->database = $database;
}
public function setModuleHandler(ModuleHandlerInterface $module_handler) {
$this->moduleHandler = $module_handler;
}
}
<?php
/**
* @file
* Contains \Drupal\Tests\migrate_drupal\Unit\source\d6\TestNode.
*/
namespace Drupal\Tests\migrate_drupal\Unit\source\d6;
use Drupal\Core\Database\Connection;
use Drupal\Core\Extension\ModuleHandlerInterface;
use Drupal\migrate_drupal\Plugin\migrate\source\d6\Node;
/**
* Provides a node source plugin used for unit testing.
*/
class TestNode extends Node {
/**
* Sets the database connection for this source plugin.
*
* @param \Drupal\Core\Database\Connection $database
*/
public function setDatabase(Connection $database) {
$this->database = $database;
}
/**
* Sets the module handler for this source plugin.
*
* @param \Drupal\Core\Extension\ModuleHandlerInterface $module_handler
*/
public function setModuleHandler(ModuleHandlerInterface $module_handler) {
$this->moduleHandler = $module_handler;
}
}
<?php
/**
* @file
* Contains \Drupal\Tests\migrate_drupal\Unit\source\d6\TestNodeRevision.
*/
namespace Drupal\Tests\migrate_drupal\Unit\source\d6;
use Drupal\Core\Database\Connection;
use Drupal\Core\Extension\ModuleHandlerInterface;
use Drupal\migrate_drupal\Plugin\migrate\source\d6\NodeRevision;
/**
* Provides a node revision source plugin used for unit testing.
*/
class TestNodeRevision extends NodeRevision {
/**
* Sets the database connection for this source plugin.
*
* @param \Drupal\Core\Database\Connection $database
*/
public function setDatabase(Connection $database) {
$this->database = $database;
}
/**
* Sets the module handler for this source plugin.
*
* @param \Drupal\Core\Extension\ModuleHandlerInterface $module_handler
*/
public function setModuleHandler(ModuleHandlerInterface $module_handler) {
$this->moduleHandler = $module_handler;
}
}
<?php
/**
* @file
* Contains \Drupal\Tests\migrate_drupal\Unit\source\d6\TestTerm.
*/
namespace Drupal\Tests\migrate_drupal\Unit\source\d6;
use Drupal\Core\Database\Connection;
use Drupal\Core\Extension\ModuleHandlerInterface;
use Drupal\migrate_drupal\Plugin\migrate\source\d6\Term;
class TestTerm extends Term {
public function setDatabase(Connection $database) {
$this->database = $database;
}
public function setModuleHandler(ModuleHandlerInterface $module_handler) {
$this->moduleHandler = $module_handler;
}
}
......@@ -2,11 +2,12 @@
/**
* @file
* Contains \Drupal\migrate\Plugin\migrate\destination\EntityNodeType.
* Contains \Drupal\node\Plugin\migrate\destination\EntityNodeType.
*/
namespace Drupal\migrate\Plugin\migrate\destination;
namespace Drupal\node\Plugin\migrate\destination;
use Drupal\migrate\Plugin\migrate\destination\EntityConfigBase;
use Drupal\migrate\Row;
/**
......
......@@ -2,12 +2,13 @@
/**
* @file
* Contains \Drupal\migrate\Plugin\migrate\destination\EntityDateFormat.
* Contains \Drupal\system\Plugin\migrate\destination\EntityDateFormat.
*/
namespace Drupal\migrate\Plugin\migrate\destination;
namespace Drupal\system\Plugin\migrate\destination;
use Drupal\Core\Entity\EntityInterface;
use Drupal\migrate\Plugin\migrate\destination\EntityConfigBase;
/**
* @MigrateDestination(
......
......@@ -2,12 +2,13 @@
/**
* @file
* Contains \Drupal\migrate_drupal\Plugin\migrate\cckfield\TextField.
* Contains \Drupal\text\Plugin\migrate\cckfield\TextField.
*/
namespace Drupal\migrate_drupal\Plugin\migrate\cckfield;
namespace Drupal\text\Plugin\migrate\cckfield;
use Drupal\migrate\Entity\MigrationInterface;
use Drupal\migrate_drupal\Plugin\migrate\cckfield\CckFieldPluginBase;
/**
* @PluginID("text")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment