@@ -43,7 +43,6 @@ class ValidatorsTest extends KernelTestBase {
'ckeditor5_plugin_conditions_test',
'editor',
'filter',
'filter_test',
'media',
'media_library',
'views',
@@ -462,33 +461,6 @@ public function providerPair(): array {
],
'violations'=>[],
];
$data['INVALID: forbidden tags']=[
'settings'=>[
'toolbar'=>[
'items'=>[],
],
'plugins'=>[],
],
'image_upload'=>[
'status'=>FALSE,
],
'filters'=>[
'filter_test_restrict_tags_and_attributes'=>[
'id'=>'filter_test_restrict_tags_and_attributes',
'provider'=>'filter_test',
'status'=>TRUE,
'weight'=>0,
'settings'=>[
'restrictions'=>[
'forbidden_tags'=>['p'=>FALSE],
],
],
],
],
'violations'=>[
''=>'CKEditor 5 needs at least the <p> and <br> tags to be allowed to be able to function. They are forbidden by the "<em class="placeholder">Tag and attribute restricting filter</em>" (<em class="placeholder">filter_test_restrict_tags_and_attributes</em>) filter.',
@trigger_error('forbidden_tags for FilterInterface::getHTMLRestrictions() is deprecated in drupal:9.4.0 and is removed from drupal:10.0.0',E_USER_DEPRECATED);
}
// The first filter with HTML restrictions provides the initial set.