public function FilteredStorageTest::writeFilterProvider in Config Filter 8
Same name and namespace in other branches
- 8.2 src/Tests/FilteredStorageTest.php \Drupal\config_filter\Tests\FilteredStorageTest::writeFilterProvider()
Data provider for testWriteFilter.
File
- src/
Tests/ FilteredStorageTest.php, line 240
Class
- FilteredStorageTest
- Tests StorageWrapper operations using the CachedStorage.
Namespace
Drupal\config_filter\TestsCode
public function writeFilterProvider() {
return [
[
$this
->randomArray(),
$this
->randomArray(),
],
[
NULL,
$this
->randomArray(),
],
[
[],
$this
->randomArray(),
],
[
$this
->randomArray(),
NULL,
FALSE,
],
[
$this
->randomArray(),
[],
FALSE,
],
[
$this
->randomArray(),
NULL,
TRUE,
],
];
}