function WidgetOverflowTest::providerWidgetOverflow
Same name in other branches
- 11.x core/modules/media_library/tests/src/FunctionalJavascript/WidgetOverflowTest.php \Drupal\Tests\media_library\FunctionalJavascript\WidgetOverflowTest::providerWidgetOverflow()
Data provider for ::testWidgetOverflow() and ::testUnlimitedCardinality().
Return value
array[] Sets of arguments to pass to the test method.
File
-
core/
modules/ media_library/ tests/ src/ FunctionalJavascript/ WidgetOverflowTest.php, line 177
Class
- WidgetOverflowTest
- Tests that uploads in the 'media_library_widget' works as expected.
Namespace
Drupal\Tests\media_library\FunctionalJavascriptCode
public static function providerWidgetOverflow() : array {
return [
'Save' => [
NULL,
],
'Save and insert' => [
'insert',
],
'Save and select' => [
'select',
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.