Gets the cache key for a given config name in a particular context.
string $name: The name of the configuration object.
\Drupal\Core\Config\Context\ContextInterface $context: The configuration context.
string The cache key.
public function getCacheKey($name, ContextInterface $context) {
return $name . ':' . $context
->getUuid();
}