You are here

public static function MediaMigrationSourceDatabaseTrait::getUsersTableData in Media Migration 8

Returns the values for the "users" database table.

Return value

array[] An array of database table records with values, keyed by the column name.

1 call to MediaMigrationSourceDatabaseTrait::getUsersTableData()
FileEntitySourceFieldInstanceTest::providerSource in tests/src/Kernel/Plugin/migrate/source/d7/FileEntitySourceFieldInstanceTest.php
The data provider.

File

tests/src/Traits/MediaMigrationSourceDatabaseTrait.php, line 592

Class

MediaMigrationSourceDatabaseTrait
Source database table values for Media Migration's tests.

Namespace

Drupal\Tests\media_migration\Traits

Code

public static function getUsersTableData() {
  return [
    [
      'uid' => 0,
      'name' => '',
      'pass' => '',
      'mail' => NULL,
      'theme' => '',
      'signature' => '',
      'signature_format' => NULL,
      'created' => 0,
      'access' => 0,
      'login' => 0,
      'status' => 0,
      'timezone' => NULL,
      'language' => '',
      'picture' => 0,
      'init' => NULL,
      'data' => NULL,
    ],
  ];
}