Overrides CacheableDependencyInterface::getCacheContexts
public function getCacheContexts() { if (!isset($this->pluginDefinition['cache_contexts'])) { return []; } return $this->pluginDefinition['cache_contexts']; }