function EmbeddedFormWidgetTest::insertionReselectionProvider

Same name in other branches
  1. 8.9.x core/modules/media_library/tests/src/FunctionalJavascript/EmbeddedFormWidgetTest.php \Drupal\Tests\media_library\FunctionalJavascript\EmbeddedFormWidgetTest::insertionReselectionProvider()
  2. 10 core/modules/media_library/tests/src/FunctionalJavascript/EmbeddedFormWidgetTest.php \Drupal\Tests\media_library\FunctionalJavascript\EmbeddedFormWidgetTest::insertionReselectionProvider()
  3. 11.x 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',
        ],
    ];
}

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