You are here

protected function MigrateDrupal6TestBase::migrateFields in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/migrate_drupal/tests/src/Kernel/d6/MigrateDrupal6TestBase.php \Drupal\Tests\migrate_drupal\Kernel\d6\MigrateDrupal6TestBase::migrateFields()
  2. 10 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 82

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',
  ]);
}