You are here

protected function BlockContentCacheTagsTest::getAccessCacheContextsForEntity in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/block_content/tests/src/Functional/BlockContentCacheTagsTest.php \Drupal\Tests\block_content\Functional\BlockContentCacheTagsTest::getAccessCacheContextsForEntity()

Overrides EntityCacheTagsTestBase::getAccessCacheContextsForEntity

See also

\Drupal\block_content\BlockContentAccessControlHandler::checkAccess()

File

core/modules/block_content/tests/src/Functional/BlockContentCacheTagsTest.php, line 61

Class

BlockContentCacheTagsTest
Tests the Custom Block entity's cache tags.

Namespace

Drupal\Tests\block_content\Functional

Code

protected function getAccessCacheContextsForEntity(EntityInterface $entity) {
  return [];
}