You are here

protected property TextfieldWebformViewsTest::$view_handlers 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::view_handlers
  2. 8.5 tests/src/Kernel/argument/TextfieldWebformViewsTest.php \Drupal\Tests\webform_views\Kernel\argument\TextfieldWebformViewsTest::view_handlers
  3. 8.5 tests/src/Kernel/field/TextfieldWebformViewsTest.php \Drupal\Tests\webform_views\Kernel\field\TextfieldWebformViewsTest::view_handlers

Array of additional handlers to apply to the view.

It should be keyed by handler type. See View::getHandlerTypes() for the list of known handler types.

Type: array

Overrides WebformViewsTestBase::$view_handlers

File

tests/src/Kernel/sort/TextfieldWebformViewsTest.php, line 24

Class

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

Namespace

Drupal\Tests\webform_views\Kernel\sort

Code

protected $view_handlers = [
  'field' => [
    [
      'id' => 'element',
      'table' => 'webform_submission_field_webform_element',
      'field' => 'webform_submission_value',
      'options' => [],
    ],
  ],
  'sort' => [
    [
      'id' => 'element',
      'table' => 'webform_submission_field_webform_element',
      'field' => 'webform_submission_value',
      'options' => [],
    ],
  ],
];