function ViewExecutableTest::addHandlerProvider

Same name in other branches
  1. 8.9.x core/modules/views/tests/src/Unit/ViewExecutableTest.php \Drupal\Tests\views\Unit\ViewExecutableTest::addHandlerProvider()
  2. 10 core/modules/views/tests/src/Unit/ViewExecutableTest.php \Drupal\Tests\views\Unit\ViewExecutableTest::addHandlerProvider()
  3. 11.x 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 445

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',
        ],
    ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.