function MediaTest::providerTestViewMode

For testing view modes in different scenarios.

File

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

Class

MediaTest
Tests Drupal\ckeditor5\Plugin\CKEditor5Plugin\Media.

Namespace

Drupal\Tests\ckeditor5\FunctionalJavascript

Code

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