You are here

protected property TextfieldWebformViewsTest::$webform_elements in Webform Views Integration 8.5

Same name in this branch
  1. 8.5 tests/src/Kernel/sort/TextfieldWebformViewsTest.php \Drupal\Tests\webform_views\Kernel\sort\TextfieldWebformViewsTest::webform_elements
  2. 8.5 tests/src/Kernel/argument/TextfieldWebformViewsTest.php \Drupal\Tests\webform_views\Kernel\argument\TextfieldWebformViewsTest::webform_elements
  3. 8.5 tests/src/Kernel/field/TextfieldWebformViewsTest.php \Drupal\Tests\webform_views\Kernel\field\TextfieldWebformViewsTest::webform_elements

Array of webform elements to apply to the webform.

Type: array

Overrides WebformViewsTestBase::$webform_elements

File

tests/src/Kernel/argument/TextfieldWebformViewsTest.php, line 12

Class

TextfieldWebformViewsTest
Test 'textfield' webform element as a views argument.

Namespace

Drupal\Tests\webform_views\Kernel\argument

Code

protected $webform_elements = [
  'element' => [
    '#type' => 'textfield',
    '#title' => 'Textfield',
  ],
];