3 namespace Drupal\entity_browser_test\Cache\Context;
5 use Drupal\Core\Cache\CacheableMetadata;
6 use Drupal\Core\Cache\Context\CacheContextInterface;
9 * Dummy cache context for Entity browser test purposes.
11 * Cache context ID: 'eb_dummy'.
13 class DummyCacheContext implements CacheContextInterface {
18 public static function getLabel() {
19 return t('Dummy context');
25 public function getContext() {
32 public function getCacheableMetadata() {
33 return new CacheableMetadata();