All classes that implement VariantInterface in Drupal 10
- class \Drupal\Core\Display\VariantBase implements VariantInterface uses RefinableCacheableDependencyTrait, PluginDependencyTrait
- class \Drupal\block\Plugin\DisplayVariant\BlockPageVariant implements PageVariantInterface, ContainerFactoryPluginInterface
- class \Drupal\display_variant_test\Plugin\DisplayVariant\TestDisplayVariant implements ContextAwareVariantInterface, PageVariantInterface