function CacheTest::testBuildTags
Same name and namespace in other branches
- 8.9.x core/tests/Drupal/Tests/Core/Cache/CacheTest.php \Drupal\Tests\Core\Cache\CacheTest::testBuildTags()
- 10 core/tests/Drupal/Tests/Core/Cache/CacheTest.php \Drupal\Tests\Core\Cache\CacheTest::testBuildTags()
- 11.x core/tests/Drupal/Tests/Core/Cache/CacheTest.php \Drupal\Tests\Core\Cache\CacheTest::testBuildTags()
@covers ::buildTags
@dataProvider buildTagsProvider
File
-
core/
tests/ Drupal/ Tests/ Core/ Cache/ CacheTest.php, line 183
Class
- CacheTest
- @coversDefaultClass <a href="/api/drupal/core%21lib%21Drupal%21Core%21Cache%21Cache.php/class/Cache/9" title="Helper methods for cache." class="local">\Drupal\Core\Cache\Cache</a> @group Cache
Namespace
Drupal\Tests\Core\CacheCode
public function testBuildTags($prefix, array $suffixes, array $expected, $glue = ':') {
$this->assertEquals($expected, Cache::buildTags($prefix, $suffixes, $glue));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.