function MigrateDrupal6TestBase::migrateFields

Same name in other branches
  1. 9 core/modules/migrate_drupal/tests/src/Kernel/d6/MigrateDrupal6TestBase.php \Drupal\Tests\migrate_drupal\Kernel\d6\MigrateDrupal6TestBase::migrateFields()
  2. 8.9.x core/modules/migrate_drupal/tests/src/Kernel/d6/MigrateDrupal6TestBase.php \Drupal\Tests\migrate_drupal\Kernel\d6\MigrateDrupal6TestBase::migrateFields()
  3. 11.x core/modules/migrate_drupal/tests/src/Kernel/d6/MigrateDrupal6TestBase.php \Drupal\Tests\migrate_drupal\Kernel\d6\MigrateDrupal6TestBase::migrateFields()

Executes all field migrations.

16 calls to MigrateDrupal6TestBase::migrateFields()
FieldDiscoveryTest::testAddFields in core/modules/migrate_drupal/tests/src/Kernel/d6/FieldDiscoveryTest.php
Tests the addFields method.
MigrateDrupal6TestBase::migrateContent in core/modules/migrate_drupal/tests/src/Kernel/d6/MigrateDrupal6TestBase.php
Executes all content migrations.
MigrateFieldFormatterSettingsTest::setUp in core/modules/field/tests/src/Kernel/Migrate/d6/MigrateFieldFormatterSettingsTest.php
MigrateFieldInstanceLabelDescriptionTest::setUp in core/modules/field/tests/src/Kernel/Migrate/d6/MigrateFieldInstanceLabelDescriptionTest.php
MigrateFieldInstanceTest::testFieldInstanceMigration in core/modules/field/tests/src/Kernel/Migrate/d6/MigrateFieldInstanceTest.php
Tests migration of file variables to file.settings.yml.

... See full list

File

core/modules/migrate_drupal/tests/src/Kernel/d6/MigrateDrupal6TestBase.php, line 84

Class

MigrateDrupal6TestBase
Base class for Drupal 6 migration tests.

Namespace

Drupal\Tests\migrate_drupal\Kernel\d6

Code

protected function migrateFields() {
    $this->migrateContentTypes();
    $this->executeMigrations([
        'd6_field',
        'd6_field_instance',
        'd6_field_instance_widget_settings',
        'd6_view_modes',
        'd6_field_formatter_settings',
        'd6_upload_field',
        'd6_upload_field_instance',
    ]);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.