function FieldStorageConfigResourceTestBase::getExpectedCacheContexts

Overrides EntityResourceTestBase::getExpectedCacheContexts

File

core/modules/field/tests/src/Functional/Rest/FieldStorageConfigResourceTestBase.php, line 98

Class

FieldStorageConfigResourceTestBase

Namespace

Drupal\Tests\field\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.