Commit a3a86053 authored by alexpott's avatar alexpott

Issue #2534156 by mikeryan: Move module-specific migration support into the path module

parent 3c12e215
......@@ -2,14 +2,15 @@
/**
* @file
* Contains \Drupal\migrate\Plugin\migrate\destination\UrlAlias.
* Contains \Drupal\path\Plugin\migrate\destination\UrlAlias.
*/
namespace Drupal\migrate\Plugin\migrate\destination;
namespace Drupal\path\Plugin\migrate\destination;
use Drupal\Core\Path\AliasStorage;
use Drupal\migrate\Entity\MigrationInterface;
use Drupal\migrate\Row;
use Drupal\migrate\Plugin\migrate\destination\DestinationBase;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
......
......@@ -2,10 +2,11 @@
/**
* @file
* Contains \Drupal\migrate_drupal\Plugin\migrate\source\d6\UrlAlias.
* Contains \Drupal\path\Plugin\migrate\source\d6\UrlAlias.
*/
namespace Drupal\migrate_drupal\Plugin\migrate\source\d6;
namespace Drupal\path\Plugin\migrate\source\d6;
use Drupal\migrate_drupal\Plugin\migrate\source\DrupalSqlBase;
/**
......
......@@ -2,22 +2,30 @@
/**
* @file
* Contains \Drupal\migrate_drupal\Tests\d6\MigrateUrlAliasTest.
* Contains \Drupal\path\Tests\Migrate\d6\MigrateUrlAliasTest.
*/
namespace Drupal\migrate_drupal\Tests\d6;
namespace Drupal\path\Tests\Migrate\d6;
use Drupal\migrate\MigrateExecutable;
use Drupal\migrate\Plugin\MigrateIdMapInterface;
use Drupal\Core\Database\Database;
use Drupal\migrate_drupal\Tests\d6\MigrateDrupal6TestBase;
/**
* Url alias migration.
*
* @group migrate_drupal
* @group path
*/
class MigrateUrlAliasTest extends MigrateDrupal6TestBase {
/**
* Modules to enable.
*
* @var array
*/
public static $modules = array('path');
/**
* {@inheritdoc}
*/
......
......@@ -2,21 +2,21 @@
/**
* @file
* Contains \Drupal\Tests\migrate_drupal\Unit\source\d6\UrlAliasTest.
* Contains \Drupal\Tests\path\Unit\Migrate\d6\UrlAliasTest.
*/
namespace Drupal\Tests\migrate_drupal\Unit\source\d6;
namespace Drupal\Tests\path\Unit\Migrate\d6;
use Drupal\Tests\migrate\Unit\MigrateSqlSourceTestCase;
/**
* Tests the D6 url alias migrations.
*
* @group migrate_drupal
* @group path
*/
class UrlAliasTest extends MigrateSqlSourceTestCase {
const PLUGIN_CLASS = 'Drupal\migrate_drupal\Plugin\migrate\source\d6\UrlAlias';
const PLUGIN_CLASS = 'Drupal\path\Plugin\migrate\source\d6\UrlAlias';
protected $migrationConfiguration = array(
'id' => 'test',
......
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