use Drupal\Component\Plugin\Exception\ContextException;
use Drupal\Core\Cache\CacheableDependencyInterface;
use Drupal\Core\Cache\CacheableMetadata;
+use Drupal\Core\DependencyInjection\DependencySerializationTrait;
use Drupal\Core\TypedData\TypedDataInterface;
use Drupal\Core\TypedData\TypedDataTrait;
class Context extends ComponentContext implements ContextInterface {
use TypedDataTrait;
+ use DependencySerializationTrait;
/**
* The data associated with the context.
return $this->contextData;
}
-
/**
* {@inheritdoc}
*/