You are here

protected property MigrateExternalTranslatedTestSource::$import in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/migrate/tests/modules/migrate_external_translated_test/src/Plugin/migrate/source/MigrateExternalTranslatedTestSource.php \Drupal\migrate_external_translated_test\Plugin\migrate\source\MigrateExternalTranslatedTestSource::import

The data to import.

Type: array

File

core/modules/migrate/tests/modules/migrate_external_translated_test/src/Plugin/migrate/source/MigrateExternalTranslatedTestSource.php, line 22

Class

MigrateExternalTranslatedTestSource
A simple migrate source for our tests.

Namespace

Drupal\migrate_external_translated_test\Plugin\migrate\source

Code

protected $import = [
  [
    'name' => 'cat',
    'title' => 'Cat',
    'lang' => 'English',
  ],
  [
    'name' => 'cat',
    'title' => 'Chat',
    'lang' => 'French',
  ],
  [
    'name' => 'cat',
    'title' => 'Gato',
    'lang' => 'Spanish',
  ],
  [
    'name' => 'dog',
    'title' => 'Dog',
    'lang' => 'English',
  ],
  [
    'name' => 'dog',
    'title' => 'Chien',
    'lang' => 'French',
  ],
  [
    'name' => 'monkey',
    'title' => 'Monkey',
    'lang' => 'English',
  ],
];