function EmbeddedFormWidgetTest::insertionReselectionProvider
Same name in other branches
- 8.9.x core/modules/media_library/tests/src/FunctionalJavascript/EmbeddedFormWidgetTest.php \Drupal\Tests\media_library\FunctionalJavascript\EmbeddedFormWidgetTest::insertionReselectionProvider()
- 10 core/modules/media_library/tests/src/FunctionalJavascript/EmbeddedFormWidgetTest.php \Drupal\Tests\media_library\FunctionalJavascript\EmbeddedFormWidgetTest::insertionReselectionProvider()
- 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\FunctionalJavascriptCode
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.