public static function PluginManagerDependentValidatorTrait::create in Drupal 10
File
- core/
modules/ ckeditor5/ src/ Plugin/ Validation/ Constraint/ PluginManagerDependentValidatorTrait.php, line 41
Class
- PluginManagerDependentValidatorTrait
- Common functionality for many CKEditor 5 validation constraints.
Namespace
Drupal\ckeditor5\Plugin\Validation\ConstraintCode
public static function create(ContainerInterface $container) {
return new static($container
->get('plugin.manager.ckeditor5.plugin'));
}