EnabledConfigurablePluginsConstraint.php

Same filename in other branches
  1. 10 core/modules/ckeditor5/src/Plugin/Validation/Constraint/EnabledConfigurablePluginsConstraint.php
  2. 11.x core/modules/ckeditor5/src/Plugin/Validation/Constraint/EnabledConfigurablePluginsConstraint.php

Namespace

Drupal\ckeditor5\Plugin\Validation\Constraint

File

core/modules/ckeditor5/src/Plugin/Validation/Constraint/EnabledConfigurablePluginsConstraint.php

View source
<?php

declare (strict_types=1);
namespace Drupal\ckeditor5\Plugin\Validation\Constraint;

use Symfony\Component\Validator\Constraint;

/**
 * The CKEditor 5 plugin settings.
 *
 * @Constraint(
 *   id = "CKEditor5EnabledConfigurablePlugins",
 *   label = @Translation("CKEditor 5 enabled configurable plugins", context = "Validation"),
 * )
 *
 * @internal
 */
class EnabledConfigurablePluginsConstraint extends Constraint {
    
    /**
     * The default violation message.
     *
     * @var string
     */
    public $message = 'Configuration for the enabled plugin "%plugin_label" (%plugin_id) is missing.';

}

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.