function FieldDiscoveryTest::setUp
Same name in this branch
- 11.x core/modules/migrate_drupal/tests/src/Unit/FieldDiscoveryTest.php \Drupal\Tests\migrate_drupal\Unit\FieldDiscoveryTest::setUp()
- 11.x core/modules/migrate_drupal/tests/src/Kernel/d7/FieldDiscoveryTest.php \Drupal\Tests\migrate_drupal\Kernel\d7\FieldDiscoveryTest::setUp()
Same name in other branches
- 9 core/modules/migrate_drupal/tests/src/Unit/FieldDiscoveryTest.php \Drupal\Tests\migrate_drupal\Unit\FieldDiscoveryTest::setUp()
- 9 core/modules/migrate_drupal/tests/src/Kernel/d6/FieldDiscoveryTest.php \Drupal\Tests\migrate_drupal\Kernel\d6\FieldDiscoveryTest::setUp()
- 9 core/modules/migrate_drupal/tests/src/Kernel/d7/FieldDiscoveryTest.php \Drupal\Tests\migrate_drupal\Kernel\d7\FieldDiscoveryTest::setUp()
- 8.9.x core/modules/migrate_drupal/tests/src/Unit/FieldDiscoveryTest.php \Drupal\Tests\migrate_drupal\Unit\FieldDiscoveryTest::setUp()
- 8.9.x core/modules/migrate_drupal/tests/src/Kernel/d6/FieldDiscoveryTest.php \Drupal\Tests\migrate_drupal\Kernel\d6\FieldDiscoveryTest::setUp()
- 8.9.x core/modules/migrate_drupal/tests/src/Kernel/d7/FieldDiscoveryTest.php \Drupal\Tests\migrate_drupal\Kernel\d7\FieldDiscoveryTest::setUp()
- 10 core/modules/migrate_drupal/tests/src/Unit/FieldDiscoveryTest.php \Drupal\Tests\migrate_drupal\Unit\FieldDiscoveryTest::setUp()
- 10 core/modules/migrate_drupal/tests/src/Kernel/d6/FieldDiscoveryTest.php \Drupal\Tests\migrate_drupal\Kernel\d6\FieldDiscoveryTest::setUp()
- 10 core/modules/migrate_drupal/tests/src/Kernel/d7/FieldDiscoveryTest.php \Drupal\Tests\migrate_drupal\Kernel\d7\FieldDiscoveryTest::setUp()
Overrides MigrateDrupal6TestBase::setUp
File
-
core/
modules/ migrate_drupal/ tests/ src/ Kernel/ d6/ FieldDiscoveryTest.php, line 71
Class
- FieldDiscoveryTest
- Tests FieldDiscovery service against Drupal 6.
Namespace
Drupal\Tests\migrate_drupal\Kernel\d6Code
protected function setUp() : void {
parent::setUp();
$this->installConfig([
'node',
]);
$this->executeMigration('d6_node_type');
$this->executeMigration('d6_field');
$this->executeMigration('d6_field_instance');
$this->fieldDiscovery = $this->container
->get('migrate_drupal.field_discovery');
$this->migrationPluginManager = $this->container
->get('plugin.manager.migration');
$this->fieldPluginManager = $this->container
->get('plugin.manager.migrate.field');
$this->logger = $this->container
->get('logger.channel.migrate_drupal');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.