You are here

public function EmbeddedFormWidgetTest::insertionReselectionProvider in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/media_library/tests/src/FunctionalJavascript/EmbeddedFormWidgetTest.php \Drupal\Tests\media_library\FunctionalJavascript\EmbeddedFormWidgetTest::insertionReselectionProvider()

Data provider for ::testInsertionAndReselection().

Return value

array Test data.

File

core/modules/media_library/tests/src/FunctionalJavascript/EmbeddedFormWidgetTest.php, line 151

Class

EmbeddedFormWidgetTest
Tests media widget nested inside another widget.

Namespace

Drupal\Tests\media_library\FunctionalJavascript

Code

public function insertionReselectionProvider() {
  return [
    'using media_library_widget' => [
      'widget' => 'media_library_widget',
    ],
    'using media_library_inception_widget' => [
      'widget' => 'media_library_inception_widget',
    ],
  ];
}