public function ImageTest::providerWidth in Drupal 10
Data provider for ::testWidth().
Return value
\string[][]
File
- core/
modules/ ckeditor5/ tests/ src/ FunctionalJavascript/ ImageTest.php, line 649
Class
- ImageTest
- @coversDefaultClass \Drupal\ckeditor5\Plugin\CKEditor5Plugin\ImageUpload @group ckeditor5 @internal
Namespace
Drupal\Tests\ckeditor5\FunctionalJavascriptCode
public function providerWidth() : array {
return [
'Image resize with percent unit (only allowed in HTML 4)' => [
'width' => '33%',
],
'Image resize with (implied) px unit' => [
'width' => '100',
],
];
}