function MigrateLookupTest::setUp
Overrides MigrateTestBase::setUp
File
- 
              core/
modules/ migrate/ tests/ src/ Kernel/ MigrateLookupTest.php, line 39  
Class
- MigrateLookupTest
 - Tests the Migrate Lookup service.
 
Namespace
Drupal\Tests\migrate\KernelCode
public function setUp() : void {
  parent::setUp();
  $this->setTestLogger();
  $this->migrateLookup = $this->container
    ->get('migrate.lookup');
  $this->installEntitySchema('node');
  $this->installEntitySchema('user');
  $this->installConfig([
    'node',
    'user',
  ]);
  $this->createContentType([
    'type' => 'node_lookup',
  ]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.