You are here

public function ViewExecutableTest::addHandlerProvider in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/views/tests/src/Unit/ViewExecutableTest.php \Drupal\Tests\views\Unit\ViewExecutableTest::addHandlerProvider()

Data provider for testAddHandlerWithEntityField and testAddHandler.

Return value

array[] Test data set.

File

core/modules/views/tests/src/Unit/ViewExecutableTest.php, line 435

Class

ViewExecutableTest
@coversDefaultClass \Drupal\views\ViewExecutable @group views

Namespace

Drupal\Tests\views\Unit

Code

public function addHandlerProvider() {
  return [
    'field' => [
      'fields',
      'field',
    ],
    'filter' => [
      'filters',
      'filter',
    ],
    'argument' => [
      'arguments',
      'argument',
    ],
    'sort' => [
      'sorts',
      'sort',
    ],
  ];
}