function FileTransferTest::_getFakeModuleFiles

Same name in other branches
  1. 9 core/modules/system/tests/src/Functional/FileTransfer/FileTransferTest.php \Drupal\Tests\system\Functional\FileTransfer\FileTransferTest::_getFakeModuleFiles()
  2. 8.9.x core/modules/system/tests/src/Functional/FileTransfer/FileTransferTest.php \Drupal\Tests\system\Functional\FileTransfer\FileTransferTest::_getFakeModuleFiles()
  3. 11.x core/modules/system/tests/src/Functional/FileTransfer/FileTransferTest.php \Drupal\Tests\system\Functional\FileTransfer\FileTransferTest::_getFakeModuleFiles()
1 call to FileTransferTest::_getFakeModuleFiles()
FileTransferTest::_buildFakeModule in core/modules/system/tests/src/Functional/FileTransfer/FileTransferTest.php

File

core/modules/system/tests/src/Functional/FileTransfer/FileTransferTest.php, line 36

Class

FileTransferTest
Tests recursive file copy operations with the file transfer jail.

Namespace

Drupal\Tests\system\Functional\FileTransfer

Code

public function _getFakeModuleFiles() {
    $files = [
        'fake.module',
        'fake.info.yml',
        'theme' => [
            'fake.html.twig',
        ],
        'inc' => [
            'fake.inc',
        ],
    ];
    return $files;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.