assert($text_editor instanceof EditorInterface
);
$this->
assertConfigSchema( $this->typedConfig,
$text_editor->
getConfigDependencyName(),
$text_editor->
toArray() );
$text_format = FilterFormat::
create([ 'filters' =>
$filters,
]);
assert($text_format instanceof FilterFormatInterface
);
$this->
assertSame($expected_violations,
$this->
validatePairToViolationsArray($text_editor,
$text_format, TRUE
));
} /**
* Provides a list of Text Editor + Text Format pairs to test.
*/
public function providerPair(): array
{ // cspell:ignore donk
$data =
[];
$data['INVALID: allow_view_mode_override condition not met: filter must be configured to allow 2 or more view modes'
] =
[ 'settings' =>
[ 'toolbar' =>
[