function CacheTest::mergeTagsProvider
Provides a list of pairs of cache tags arrays to be merged.
Return value
array An array of pairs of cache tags arrays to be merged.
File
-
core/
tests/ Drupal/ Tests/ Core/ Cache/ CacheTest.php, line 59
Class
- CacheTest
- Tests Drupal\Core\Cache\Cache.
Namespace
Drupal\Tests\Core\CacheCode
public static function mergeTagsProvider() {
return [
[
[],
[],
[],
],
[
[
'bar',
'foo',
],
[
'bar',
],
[
'foo',
],
],
[
[
'foo',
'bar',
],
[
'foo',
],
[
'bar',
],
],
[
[
'foo',
'bar',
],
[
'foo',
],
[
'bar',
'foo',
],
],
[
[
'foo',
'bar',
],
[
'foo',
],
[
'foo',
'bar',
],
],
[
[
'bar',
'foo',
],
[
'bar',
'foo',
],
[
'foo',
'bar',
],
],
[
[
'foo',
'bar',
],
[
'foo',
'bar',
],
[
'foo',
'bar',
],
],
[
[
'bar',
'foo',
'llama',
],
[
'bar',
'foo',
],
[
'foo',
'bar',
],
[
'llama',
'foo',
],
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.