class CKEditor5MediaAndFilterSettingsInSyncConstraint
Same name in other branches
- 10 core/modules/ckeditor5/src/Plugin/Validation/Constraint/CKEditor5MediaAndFilterSettingsInSyncConstraint.php \Drupal\ckeditor5\Plugin\Validation\Constraint\CKEditor5MediaAndFilterSettingsInSyncConstraint
- 11.x core/modules/ckeditor5/src/Plugin/Validation/Constraint/CKEditor5MediaAndFilterSettingsInSyncConstraint.php \Drupal\ckeditor5\Plugin\Validation\Constraint\CKEditor5MediaAndFilterSettingsInSyncConstraint
Ensure CKEditor 5 media plugin's and media filter's settings are in sync.
@Constraint( id = "CKEditor5MediaAndFilterSettingsInSync", label = @Translation("CKEditor 5 Media plugin in sync with filter settings", context = "Validation"), )
@internal
Hierarchy
- class \Drupal\ckeditor5\Plugin\Validation\Constraint\CKEditor5MediaAndFilterSettingsInSyncConstraint extends \Symfony\Component\Validator\Constraint
Expanded class hierarchy of CKEditor5MediaAndFilterSettingsInSyncConstraint
File
-
core/
modules/ ckeditor5/ src/ Plugin/ Validation/ Constraint/ CKEditor5MediaAndFilterSettingsInSyncConstraint.php, line 19
Namespace
Drupal\ckeditor5\Plugin\Validation\ConstraintView source
class CKEditor5MediaAndFilterSettingsInSyncConstraint extends Constraint {
/**
* The default violation message.
*
* @var string
*/
public $message = 'The CKEditor 5 "%cke5_media_plugin_label" plugin\'s "%cke5_allow_view_mode_override_label" setting should be in sync with the "%filter_media_plugin_label" filter\'s "%filter_media_allowed_view_modes_label" setting: when checked, two or more view modes must be allowed by the filter.';
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
CKEditor5MediaAndFilterSettingsInSyncConstraint::$message | public | property | The default violation message. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.