function MediaTest::providerTestViewMode

Same name in other branches
  1. 10 core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaTest.php \Drupal\Tests\ckeditor5\FunctionalJavascript\MediaTest::providerTestViewMode()
  2. 11.x core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaTest.php \Drupal\Tests\ckeditor5\FunctionalJavascript\MediaTest::providerTestViewMode()

For testing view modes in different scenarios.

File

core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaTest.php, line 1620

Class

MediaTest
@coversDefaultClass \Drupal\ckeditor5\Plugin\CKEditor5Plugin\Media @group ckeditor5 @internal

Namespace

Drupal\Tests\ckeditor5\FunctionalJavascript

Code

public function providerTestViewMode() : array {
    return [
        'with alignment' => [
            TRUE,
        ],
        'without alignment' => [
            FALSE,
        ],
    ];
}

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