function ImageTestBase::providerResize

Same name in other branches
  1. 10 core/modules/ckeditor5/tests/src/FunctionalJavascript/ImageTestBase.php \Drupal\Tests\ckeditor5\FunctionalJavascript\ImageTestBase::providerResize()

Data provider for ::testResize().

Return value

array The test cases.

File

core/modules/ckeditor5/tests/src/FunctionalJavascript/ImageTestBase.php, line 654

Class

ImageTestBase
@coversDefaultClass \Drupal\ckeditor5\Plugin\CKEditor5Plugin\Image @group ckeditor5 @internal

Namespace

Drupal\Tests\ckeditor5\FunctionalJavascript

Code

public function providerResize() : array {
    return [
        'Image resize is enabled' => [
            'is_resize_enabled' => TRUE,
        ],
        'Image resize is disabled' => [
            'is_resize_enabled' => FALSE,
        ],
    ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.