You are here

protected property FileTest::$migrationConfiguration in Zircon Profile 8.0

Same name in this branch
  1. 8.0 core/modules/file/tests/src/Unit/Plugin/migrate/source/d6/FileTest.php \Drupal\Tests\file\Unit\Plugin\migrate\source\d6\FileTest::migrationConfiguration
  2. 8.0 core/modules/file/tests/src/Unit/Plugin/migrate/source/d7/FileTest.php \Drupal\Tests\file\Unit\Plugin\migrate\source\d7\FileTest::migrationConfiguration
Same name and namespace in other branches
  1. 8 core/modules/file/tests/src/Unit/Plugin/migrate/source/d7/FileTest.php \Drupal\Tests\file\Unit\Plugin\migrate\source\d7\FileTest::migrationConfiguration

Overrides MigrateTestCase::$migrationConfiguration

File

core/modules/file/tests/src/Unit/Plugin/migrate/source/d7/FileTest.php, line 24
Contains \Drupal\Tests\file\Unit\Plugin\migrate\source\d7\FileTest.

Class

FileTest
Tests D7 file source plugin.

Namespace

Drupal\Tests\file\Unit\Plugin\migrate\source\d7

Code

protected $migrationConfiguration = array(
  'id' => 'test',
  'source' => array(
    'plugin' => 'd7_file',
    // Used by testFilteringByScheme().
    'scheme' => array(
      'public',
      'private',
    ),
  ),
  'destination' => array(
    'plugin' => 'entity:file',
    'source_base_path' => '/path/to/files',
  ),
);