function MigrateDrupal7TestBase::migrateCommentTypes

Same name and namespace in other branches
  1. 8.9.x core/modules/migrate_drupal/tests/src/Kernel/d7/MigrateDrupal7TestBase.php \Drupal\Tests\migrate_drupal\Kernel\d7\MigrateDrupal7TestBase::migrateCommentTypes()
  2. 10 core/modules/migrate_drupal/tests/src/Kernel/d7/MigrateDrupal7TestBase.php \Drupal\Tests\migrate_drupal\Kernel\d7\MigrateDrupal7TestBase::migrateCommentTypes()
  3. 11.x core/modules/migrate_drupal/tests/src/Kernel/d7/MigrateDrupal7TestBase.php \Drupal\Tests\migrate_drupal\Kernel\d7\MigrateDrupal7TestBase::migrateCommentTypes()

Migrates comment types.

11 calls to MigrateDrupal7TestBase::migrateCommentTypes()
MigrateCommentEntityDisplayTest::setUp in core/modules/comment/tests/src/Kernel/Migrate/d7/MigrateCommentEntityDisplayTest.php
MigrateCommentEntityFormDisplaySubjectTest::setUp in core/modules/comment/tests/src/Kernel/Migrate/d7/MigrateCommentEntityFormDisplaySubjectTest.php
MigrateCommentEntityFormDisplayTest::setUp in core/modules/comment/tests/src/Kernel/Migrate/d7/MigrateCommentEntityFormDisplayTest.php
MigrateCommentFieldInstanceTest::setUp in core/modules/comment/tests/src/Kernel/Migrate/d7/MigrateCommentFieldInstanceTest.php
MigrateCommentFieldTest::setUp in core/modules/comment/tests/src/Kernel/Migrate/d7/MigrateCommentFieldTest.php

... See full list

File

core/modules/migrate_drupal/tests/src/Kernel/d7/MigrateDrupal7TestBase.php, line 77

Class

MigrateDrupal7TestBase
Base class for Drupal 7 migration tests.

Namespace

Drupal\Tests\migrate_drupal\Kernel\d7

Code

protected function migrateCommentTypes() {
    $this->installConfig([
        'comment',
    ]);
    $this->executeMigration('d7_comment_type');
}

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