You are here

protected static property FileUrlWidgetTest::$fields in File URL 8

Same name and namespace in other branches
  1. 2.0.x tests/src/FunctionalJavascript/FileUrlWidgetTest.php \Drupal\Tests\file_url\FunctionalJavascript\FileUrlWidgetTest::fields

Field test cases.

The key is the field name, the value is the field cardinality.

Type: array

File

tests/src/FunctionalJavascript/FileUrlWidgetTest.php, line 36

Class

FileUrlWidgetTest
Tests the file URL widget.

Namespace

Drupal\Tests\file_url\FunctionalJavascript

Code

protected static $fields = [
  'single' => 1,
  'multiple' => FieldStorageDefinitionInterface::CARDINALITY_UNLIMITED,
];