You are here

protected property CommentTestBase::$migrationConfiguration in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/comment/tests/src/Unit/Migrate/d6/CommentTestBase.php \Drupal\Tests\comment\Unit\Migrate\d6\CommentTestBase::migrationConfiguration

Overrides MigrateTestCase::$migrationConfiguration

File

core/modules/comment/tests/src/Unit/Migrate/d6/CommentTestBase.php, line 22
Contains \Drupal\Tests\comment\Unit\Migrate\d6\CommentTestBase.

Class

CommentTestBase
Base class for comment source unit tests.

Namespace

Drupal\Tests\comment\Unit\Migrate\d6

Code

protected $migrationConfiguration = array(
  // The ID of the entity, can be any string.
  'id' => 'test',
  // This needs to be the identifier of the actual key: cid for comment, nid
  // for node and so on.
  'source' => array(
    'plugin' => 'd6_comment',
  ),
);