You are here

MigrateCommentVariableDisplayBase.php in Zircon Profile 8

File

core/modules/comment/src/Tests/Migrate/d6/MigrateCommentVariableDisplayBase.php
View source
<?php

/**
 * @file
 * Contains \Drupal\comment\Tests\Migrate\d6\MigrateCommentVariableDisplayBase.
 */
namespace Drupal\comment\Tests\Migrate\d6;

use Drupal\migrate_drupal\Tests\d6\MigrateDrupal6TestBase;

/**
 * Base class for Drupal 6 comment variables to Drupal 8 entity display tests.
 */
abstract class MigrateCommentVariableDisplayBase extends MigrateDrupal6TestBase {

  /**
   * {@inheritdoc}
   */
  public static $modules = [
    'comment',
  ];

  /**
   * {@inheritdoc}
   */
  protected function setUp() {
    parent::setUp();
    $this
      ->installConfig([
      'comment',
    ]);
    $this
      ->migrateContentTypes();
    $this
      ->executeMigrations([
      'd6_comment_type',
      'd6_comment_field',
      'd6_comment_field_instance',
    ]);
  }

}

Classes

Namesort descending Description
MigrateCommentVariableDisplayBase Base class for Drupal 6 comment variables to Drupal 8 entity display tests.