You are here

public function Select2EntityReferenceWidgetTest::providerTestMultiValueWidget in Select 2 8

Data provider for testMultipleValueWidget().

Return value

array The data.

File

tests/src/FunctionalJavascript/FieldWidget/Select2EntityReferenceWidgetTest.php, line 199

Class

Select2EntityReferenceWidgetTest
Tests select2 entity reference widget.

Namespace

Drupal\Tests\select2\FunctionalJavascript\FieldWidget

Code

public function providerTestMultiValueWidget() {
  return [
    [
      TRUE,
      TRUE,
    ],
    [
      TRUE,
      FALSE,
    ],
    [
      FALSE,
      TRUE,
    ],
    [
      FALSE,
      FALSE,
    ],
  ];
}