EnabledConfigurablePluginsConstraint.php
Same filename and directory in other branches
Namespace
Drupal\ckeditor5\Plugin\Validation\ConstraintFile
-
core/
modules/ ckeditor5/ src/ Plugin/ Validation/ Constraint/ EnabledConfigurablePluginsConstraint.php
View source
<?php
declare (strict_types=1);
namespace Drupal\ckeditor5\Plugin\Validation\Constraint;
use Drupal\Core\StringTranslation\TranslatableMarkup;
use Drupal\Core\Validation\Attribute\Constraint;
use Symfony\Component\Validator\Attribute\HasNamedArguments;
use Symfony\Component\Validator\Constraint as SymfonyConstraint;
/**
* The CKEditor 5 plugin settings.
*
* @internal
*/
class EnabledConfigurablePluginsConstraint extends SymfonyConstraint {
public function __construct(mixed $options = NULL, public $message = 'Configuration for the enabled plugin "%plugin_label" (%plugin_id) is missing.', ?array $groups = NULL, mixed $payload = NULL) {
parent::__construct($options, $groups, $payload);
}
}
Classes
| Title | Deprecated | Summary |
|---|---|---|
| EnabledConfigurablePluginsConstraint | The CKEditor 5 plugin settings. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.