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\sourceCode
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',
  ],
];Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
