function ImageTestBase::providerResize

Same name and namespace in other branches
  1. 9 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 682

Class

ImageTestBase
@coversDefaultClass \Drupal\ckeditor5\Plugin\CKEditor5Plugin\Image[[api-linebreak]] @group ckeditor5 @internal

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.