public function FilteredStorageTest::readFilterProvider in Config Filter 8
Same name and namespace in other branches
- 8.2 src/Tests/FilteredStorageTest.php \Drupal\config_filter\Tests\FilteredStorageTest::readFilterProvider()
Data provider for testReadFilter.
File
- src/
Tests/ FilteredStorageTest.php, line 154
Class
- FilteredStorageTest
- Tests StorageWrapper operations using the CachedStorage.
Namespace
Drupal\config_filter\TestsCode
public function readFilterProvider() {
// @codingStandardsIgnoreStart
return [
[
$this
->randomString(),
'exists',
'filterExists',
TRUE,
TRUE,
],
[
$this
->randomString(),
'exists',
'filterExists',
TRUE,
FALSE,
],
[
$this
->randomString(),
'exists',
'filterExists',
FALSE,
TRUE,
],
[
$this
->randomString(),
'exists',
'filterExists',
FALSE,
FALSE,
],
[
$this
->randomString(),
'read',
'filterRead',
$this
->randomArray(),
$this
->randomArray(),
],
[
$this
->randomString(),
'read',
'filterRead',
NULL,
$this
->randomArray(),
],
[
$this
->randomString(),
'read',
'filterRead',
$this
->randomArray(),
NULL,
],
[
[
$this
->randomString(),
$this
->randomString(),
],
'readMultiple',
'filterReadMultiple',
[
$this
->randomArray(),
$this
->randomArray(),
],
[
$this
->randomArray(),
$this
->randomArray(),
],
],
[
[
$this
->randomString(),
$this
->randomString(),
],
'readMultiple',
'filterReadMultiple',
[
$this
->randomArray(),
FALSE,
],
[
$this
->randomArray(),
$this
->randomArray(),
],
],
];
// @codingStandardsIgnoreEnd
}