function TestDiscoveryCacheContext::getCacheableMetadata

Overrides CacheContextInterface::getCacheableMetadata

File

core/modules/simpletest/src/Cache/Context/TestDiscoveryCacheContext.php, line 77

Class

TestDiscoveryCacheContext
Defines the TestDiscoveryCacheContext service.

Namespace

Drupal\simpletest\Cache\Context

Code

public function getCacheableMetadata() {
    return new CacheableMetadata();
}

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