protected function BlockContentCacheTagsTest::getAccessCacheContextsForEntity 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::getAccessCacheContextsForEntity()
Overrides EntityCacheTagsTestBase::getAccessCacheContextsForEntity
See also
\Drupal\block_content\BlockContentAccessControlHandler::checkAccess()
File
- core/
modules/ block_content/ src/ Tests/ BlockContentCacheTagsTest.php, line 59 - Contains \Drupal\block_content\Tests\BlockContentCacheTagsTest.
Class
- BlockContentCacheTagsTest
- Tests the Custom Block entity's cache tags.
Namespace
Drupal\block_content\TestsCode
protected function getAccessCacheContextsForEntity(EntityInterface $entity) {
return [];
}