protected function BlockContentCacheTagsTest::getAdditionalCacheTagsForEntity in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/block_content/src/Tests/BlockContentCacheTagsTest.php \Drupal\block_content\Tests\BlockContentCacheTagsTest::getAdditionalCacheTagsForEntity()
Each comment must have a comment body, which always has a text format.
Overrides EntityCacheTagsTestBase::getAdditionalCacheTagsForEntity
1 call to BlockContentCacheTagsTest::getAdditionalCacheTagsForEntity()
- BlockContentCacheTagsTest::testBlock in core/
modules/ block_content/ src/ Tests/ BlockContentCacheTagsTest.php - Tests that the block is cached with the correct contexts and tags.
File
- core/
modules/ block_content/ src/ Tests/ BlockContentCacheTagsTest.php, line 68 - Contains \Drupal\block_content\Tests\BlockContentCacheTagsTest.
Class
- BlockContentCacheTagsTest
- Tests the Custom Block entity's cache tags.
Namespace
Drupal\block_content\TestsCode
protected function getAdditionalCacheTagsForEntity(EntityInterface $entity) {
return [
'config:filter.format.plain_text',
];
}