function ImageTestProviderTrait::providerResize

Data provider for ::testResize().

Return value

array The test cases.

File

core/modules/ckeditor5/tests/src/FunctionalJavascript/ImageTestProviderTrait.php, line 294

Class

ImageTestProviderTrait
Provides test methods using data providers for image tests.

Namespace

Drupal\Tests\ckeditor5\FunctionalJavascript

Code

public static 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.