function FilePathTest::getManagedFiles
Gets the file data.
Return value
string[][] Data from the source file_managed table.
1 call to FilePathTest::getManagedFiles()
- FilePathTest::makeFiles in core/
modules/ migrate_drupal_ui/ tests/ src/ Functional/ d7/ FilePathTest.php  - Creates files for the test.
 
File
- 
              core/
modules/ migrate_drupal_ui/ tests/ src/ Functional/ d7/ FilePathTest.php, line 265  
Class
- FilePathTest
 - Tests the Drupal 7 public and private file migrations.
 
Namespace
Drupal\Tests\migrate_drupal_ui\Functional\d7Code
public function getManagedFiles() {
  return [
    [
      'filename' => 'cube.jpeg',
      'uri' => 'public://cube.jpeg',
    ],
    [
      'filename' => 'ds9.txt',
      'uri' => 'public://ds9.txt',
    ],
    [
      'filename' => 'Babylon5.txt',
      'uri' => 'private://Babylon5.txt',
    ],
    [
      'filename' => 'TerokNor.txt',
      'uri' => 'temporary://TerokNor.txt',
    ],
  ];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.