function RdfMappingResourceTestBase::getExpectedCacheContexts

Same name in other branches
  1. 8.9.x core/modules/rdf/tests/src/Functional/Rest/RdfMappingResourceTestBase.php \Drupal\Tests\rdf\Functional\Rest\RdfMappingResourceTestBase::getExpectedCacheContexts()

Overrides EntityResourceTestBase::getExpectedCacheContexts

File

core/modules/rdf/tests/src/Functional/Rest/RdfMappingResourceTestBase.php, line 120

Class

RdfMappingResourceTestBase

Namespace

Drupal\Tests\rdf\Functional\Rest

Code

protected function getExpectedCacheContexts() {
    return [
        'user.permissions',
    ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.