function FileIncludeGadgetChainTest::providerIncludePaths
Same name and namespace in other branches
- main core/tests/Drupal/KernelTests/Core/Extension/FileIncludeGadgetChainTest.php \Drupal\KernelTests\Core\Extension\FileIncludeGadgetChainTest::providerIncludePaths()
Provider for paths to include.
Return value
array Paths for test files to try and include with the gadget chain.
File
-
core/
tests/ Drupal/ KernelTests/ Core/ Extension/ FileIncludeGadgetChainTest.php, line 29
Class
- FileIncludeGadgetChainTest
- Tests protection against Drupal/FI1 gadget chain.
Namespace
Drupal\KernelTests\Core\ExtensionCode
public static function providerIncludePaths() : array {
return [
[
'public://cuckoo.txt',
],
[
'PUBLIC_PLACEHOLDER/cuckoo.jpg',
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.