Expanded class hierarchy of EntityContextDefinition in Drupal 10
- class \Drupal\Core\Plugin\Context\ContextDefinition implements ContextDefinitionInterface uses DependencySerializationTrait, TypedDataTrait
- class \Drupal\Core\Plugin\Context\EntityContextDefinition