You are here

public function EntityDisplayTraitTest::getWidgetSettingsProvider in CCK Select Other 8

Get test parameters for testGetWidgetSettings().

Return value

array Test parameters.

File

tests/src/Unit/EntityDisplayTraitTest.php, line 192

Class

EntityDisplayTraitTest
Tests the entity display trait.

Namespace

Drupal\Tests\cck_select_other\Unit

Code

public function getWidgetSettingsProvider() {
  return [
    [
      'cck_select_other',
      [
        'other_label' => 'Other',
      ],
    ],
    [
      'textfield',
      [],
    ],
  ];
}